Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.082/2.082, allocations: 288.4 MB / 303.6 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 182.9 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 0.631 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 90.34 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004055, allocations: 20.05 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.251, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.08279/0.3339, allocations: 87.84 MB / 1.066 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.519/0.8529, allocations: 31.46 MB / 1.097 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008102/0.8611, allocations: 133.6 kB / 1.097 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008808/0.8699, allocations: 1.481 MB / 1.098 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02127/0.8913, allocations: 3.882 MB / 1.102 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01433/0.9057, allocations: 2.883 MB / 1.105 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02245/0.9281, allocations: 10.32 MB / 1.115 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008364/0.9365, allocations: 2.883 MB / 1.118 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.9482, allocations: 3.201 MB / 1.121 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007704/0.956, allocations: 2.736 MB / 1.123 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001725/0.9578, allocations: 168.8 kB / 1.124 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01104/0.9688, allocations: 2.342 MB / 1.126 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004033/0.9729, allocations: 1.415 MB / 1.127 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.008414/0.9814, allocations: 2.22 MB / 1.129 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.9947, allocations: 6.057 MB / 1.135 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.9948, allocations: 3.688 kB / 1.135 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9948, allocations: 0 / 1.135 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002568/0.9951, allocations: 4 kB / 1.135 GB, free: 3.668 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01853/1.014, allocations: 5.234 MB / 1.141 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.014, allocations: 17.56 kB / 1.141 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/1.024, allocations: 1.326 MB / 1.142 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/1.042, allocations: 5.2 MB / 1.147 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/1.043, allocations: 313.1 kB / 1.147 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/1.044, allocations: 237.3 kB / 1.147 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009366/1.054, allocations: 3.098 MB / 1.15 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/1.054, allocations: 1.906 kB / 1.15 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/1.054, allocations: 83.28 kB / 1.151 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.849e-05/1.054, allocations: 50.16 kB / 1.151 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009313/1.064, allocations: 2.373 MB / 1.153 GB, free: 9.02 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/1.097, allocations: 12.56 MB / 1.165 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/1.105, allocations: 1.902 MB / 1.167 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/1.108, allocations: 0.8632 MB / 1.168 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/1.121, allocations: 4.529 MB / 1.172 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00441/1.126, allocations: 1.426 MB / 1.174 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003328/1.129, allocations: 213.7 kB / 1.174 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=87): time 1.105e-05/1.129, allocations: 3.984 kB / 1.174 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87): time 0.01178/1.141, allocations: 2.841 MB / 1.177 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.141, allocations: 115.8 kB / 1.177 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.154, allocations: 4.901 MB / 1.182 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008313/1.155, allocations: 53.7 kB / 1.182 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003615/1.158, allocations: 2.107 MB / 1.184 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008946/1.159, allocations: 291.8 kB / 1.184 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.159, allocations: 36 kB / 1.184 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000283/1.16, allocations: 381.9 kB / 1.184 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/1.164, allocations: 1.14 MB / 1.185 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005266/1.169, allocations: 2.124 MB / 1.188 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009268/1.178, allocations: 3.144 MB / 1.191 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.674e-05/1.178, allocations: 8 kB / 1.191 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01285/1.191, allocations: 3.539 MB / 1.194 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009959/1.192, allocations: 0.9315 MB / 1.195 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/1.192, allocations: 28 kB / 1.195 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.51e-05/1.192, allocations: 40 kB / 1.195 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005088/1.198, allocations: 0.6163 MB / 1.196 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/1.201, allocations: 2.992 MB / 1.199 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.207, allocations: 225.1 kB / 1.199 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006637/1.207, allocations: 183.9 kB / 1.199 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.207, allocations: 5.406 kB / 1.199 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009399/1.217, allocations: 3.476 MB / 1.202 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-05/1.217, allocations: 28 kB / 1.202 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.096e-05/1.217, allocations: 43.98 kB / 1.202 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/1.221, allocations: 0.6286 MB / 1.203 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.931e-05/1.221, allocations: 59.78 kB / 1.203 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/1.227, allocations: 209 kB / 1.203 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007486/1.228, allocations: 176 kB / 1.203 GB, free: 8.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 218 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004061/1.232, allocations: 1.164 MB / 1.205 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/1.234, allocations: 426.4 kB / 1.205 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.244, allocations: 2.717 MB / 1.208 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/1.244, allocations: 12 kB / 1.208 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.244, allocations: 0 / 1.208 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/1.244, allocations: 3.984 kB / 1.208 GB, free: 3.742 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/1.264, allocations: 5.338 MB / 1.213 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/1.264, allocations: 7.938 kB / 1.213 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/1.267, allocations: 295.7 kB / 1.213 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005812/1.267, allocations: 141.6 kB / 1.213 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/1.267, allocations: 39.95 kB / 1.213 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/1.27, allocations: 2.675 MB / 1.216 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/1.27, allocations: 4.031 kB / 1.216 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009319/1.279, allocations: 2.489 MB / 1.218 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/1.283, allocations: 0.6827 MB / 1.219 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001787/1.285, allocations: 24 kB / 1.219 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004073/1.289, allocations: 198.4 kB / 1.219 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/1.289, allocations: 92.8 kB / 1.219 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/1.289, allocations: 67.94 kB / 1.219 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.009303/1.299, allocations: 3.34 MB / 1.223 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.246e-06/1.299, allocations: 0 / 1.223 GB, free: 4.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01044/1.309, allocations: 1.761 MB / 1.224 GB, free: 2.469 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003567/1.313, allocations: 0.9276 MB / 1.225 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01908/1.332, allocations: 4.626 MB / 1.23 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.332, allocations: 0 / 1.23 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004553/1.336, allocations: 1.037 MB / 1.231 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0149/1.351, allocations: 2.152 MB / 1.233 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/1.368, allocations: 8.524 MB / 1.241 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/1.371, allocations: 2.601 MB / 1.244 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.005589/1.377, allocations: 1.118 MB / 1.245 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/1.377, allocations: 323.3 kB / 1.245 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of SimCode: time 2.855e-06/1.377, allocations: 4 kB / 1.245 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of Templates: time 0.1469/1.524, allocations: 88.88 MB / 1.332 GB, free: 5.148 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)