Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 195.6 kB / 16.64 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.3 MB / 0.549 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 75.92 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2546, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002364/0.257, allocations: 1.282 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.258, allocations: 0.5916 MB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.258, allocations: 0 / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.258, allocations: 0 / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.2581, allocations: 11.91 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.2586, allocations: 139.4 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.2586, allocations: 27.88 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.2587, allocations: 3.984 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.2587, allocations: 7.984 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.2588, allocations: 11.94 kB / 0.7862 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2588, allocations: 0 / 0.7862 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.2593, allocations: 343.3 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.2593, allocations: 7.969 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.2593, allocations: 11.94 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.2595, allocations: 139.6 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2595, allocations: 4 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2595, allocations: 0 / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2596, allocations: 4 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004008/0.26, allocations: 367.3 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.26, allocations: 8.031 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.26, allocations: 0.9375 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2602, allocations: 164.4 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2602, allocations: 4.375 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.2602, allocations: 384 / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.934e-05/0.2603, allocations: 46.19 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.2603, allocations: 4.188 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.2603, allocations: 3.938 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2603, allocations: 0 / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.2604, allocations: 23.92 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.2607, allocations: 248.9 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2609, allocations: 54.56 kB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.261, allocations: 20.86 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.261, allocations: 3.984 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.261, allocations: 30.56 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.261, allocations: 0 / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001952/0.2612, allocations: 61.59 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.2613, allocations: 51.41 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.2613, allocations: 97.86 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2614, allocations: 25.7 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.2614, allocations: 99.98 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.2614, allocations: 15.81 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.2615, allocations: 13.72 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2616, allocations: 314.8 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.2616, allocations: 11.92 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.2616, allocations: 17.72 kB / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.2617, allocations: 34.09 kB / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2617, allocations: 0 / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.2618, allocations: 65.55 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2618, allocations: 4 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2619, allocations: 3.984 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2619, allocations: 4 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.21e-05/0.2619, allocations: 4 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2619, allocations: 4 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.262, allocations: 0 / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.262, allocations: 0 / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/0.2621, allocations: 126.4 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.2621, allocations: 3.906 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2622, allocations: 61.17 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2623, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2623, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2623, allocations: 0 / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2624, allocations: 161.6 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2625, allocations: 0 / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.2625, allocations: 8.125 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2625, allocations: 0 / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2625, allocations: 8 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2625, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2625, allocations: 0 / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.2626, allocations: 151.4 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.2627, allocations: 85.03 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2627, allocations: 7.938 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.643e-05/0.2628, allocations: 4 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.2628, allocations: 4 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2628, allocations: 0 / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.2628, allocations: 79.28 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2628, allocations: 0 / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002339/0.2631, allocations: 19.98 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001748/0.2632, allocations: 123.2 kB / 0.7892 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.2634, allocations: 27.92 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2634, allocations: 4.062 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.2634, allocations: 8 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.2636, allocations: 13.03 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.2639, allocations: 122.4 kB / 0.7893 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2641, allocations: 0.6768 MB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.2642, allocations: 11.98 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.2642, allocations: 7.438 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2642, allocations: 0 / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.002471/0.2667, allocations: 0.5134 MB / 0.7905 GB, free: 5.793 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)