Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.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.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 104.6 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 192.9 kB / 17.3 MB, free: 5.871 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.33 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.001514/0.001515, allocations: 71.03 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.208, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.3862/0.5943, allocations: 95.35 MB / 0.8779 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05181/0.6461, allocations: 33.43 MB / 0.9105 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006607/0.6527, allocations: 152.7 kB / 0.9107 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00604/0.6589, allocations: 2.056 MB / 0.9127 GB, free: 4.574 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01226/0.6711, allocations: 4.526 MB / 0.9171 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009867/0.681, allocations: 3.769 MB / 0.9208 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.694, allocations: 8.971 MB / 0.9296 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005933/0.6999, allocations: 3.467 MB / 0.9329 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008982/0.7089, allocations: 3.826 MB / 0.9367 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005044/0.714, allocations: 2.864 MB / 0.9395 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.7154, allocations: 412 kB / 0.9399 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006791/0.7222, allocations: 2.73 MB / 0.9425 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.7244, allocations: 1.671 MB / 0.9442 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00411/0.7286, allocations: 2.597 MB / 0.9467 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.7405, allocations: 7.906 MB / 0.9544 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7405, allocations: 0 / 0.9544 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7405, allocations: 0 / 0.9544 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002115/0.7407, allocations: 0 / 0.9544 GB, free: 12.71 MB / 0.7481 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.01317/0.7539, allocations: 5.792 MB / 0.9601 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.754, allocations: 8.031 kB / 0.9601 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006579/0.7606, allocations: 1.22 MB / 0.9613 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.7717, allocations: 5.166 MB / 0.9663 GB, free: 360 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.7719, allocations: 176.8 kB / 0.9665 GB, free: 180 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007168/0.7727, allocations: 232.1 kB / 0.9667 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007028/0.7797, allocations: 3.067 MB / 0.9697 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.7798, allocations: 8 kB / 0.9697 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003235/0.7801, allocations: 87.98 kB / 0.9698 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.7801, allocations: 48 kB / 0.9698 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005908/0.7861, allocations: 2.26 MB / 0.9721 GB, free: 10.34 MB / 0.7637 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.01995/0.806, allocations: 12.69 MB / 0.9844 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/0.8109, allocations: 1.74 MB / 0.9861 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.8129, allocations: 0.7884 MB / 0.9869 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007307/0.8202, allocations: 4.408 MB / 0.9912 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/0.823, allocations: 1.34 MB / 0.9925 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=83): time 3.847e-06/0.823, allocations: 0 / 0.9925 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=83): time 0.007188/0.8302, allocations: 2.634 MB / 0.9951 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.8303, allocations: 115.8 kB / 0.9952 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00895/0.8393, allocations: 4.975 MB / 1 GB, free: 12.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003307/0.8396, allocations: 53.7 kB / 1 GB, free: 12.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002002/0.8416, allocations: 2.124 MB / 1.002 GB, free: 10.46 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000489/0.8421, allocations: 288 kB / 1.002 GB, free: 10.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009027/0.8431, allocations: 0.4913 MB / 1.003 GB, free: 9.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.8432, allocations: 301.1 kB / 1.003 GB, free: 9.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.846, allocations: 1.586 MB / 1.005 GB, free: 7.797 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/0.8496, allocations: 2.522 MB / 1.007 GB, free: 4.828 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/0.8559, allocations: 4.014 MB / 1.011 GB, free: 432 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.8559, allocations: 12 kB / 1.011 GB, free: 420 kB / 0.795 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008324/0.8643, allocations: 4.386 MB / 1.015 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.8643, allocations: 23.94 kB / 1.015 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.495e-05/0.8644, allocations: 28 kB / 1.016 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-05/0.8644, allocations: 36.81 kB / 1.016 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/0.8678, allocations: 0.5834 MB / 1.016 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.8702, allocations: 2.988 MB / 1.019 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.8732, allocations: 318 kB / 1.019 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.8735, allocations: 187.8 kB / 1.02 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004067/0.8776, allocations: 2.245 MB / 1.022 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002964/0.8806, allocations: 2.24 MB / 1.024 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005181/0.8858, allocations: 3.437 MB / 1.027 GB, free: 15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.635e-05/0.8858, allocations: 8 kB / 1.027 GB, free: 15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=253) (initialization_lambda0): time 0.007515/0.8933, allocations: 3.796 MB / 1.031 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.8934, allocations: 16 kB / 1.031 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.8934, allocations: 32.55 kB / 1.031 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-05/0.8935, allocations: 40 kB / 1.031 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.8962, allocations: 0.6088 MB / 1.032 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-05/0.8963, allocations: 59.8 kB / 1.032 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/0.8992, allocations: 224.9 kB / 1.032 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.8995, allocations: 180 kB / 1.032 GB, free: 10.04 MB / 0.8262 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 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 214 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000704/0.9002, allocations: 318.9 kB / 1.032 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.9013, allocations: 422.5 kB / 1.033 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/0.9081, allocations: 2.574 MB / 1.035 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.9081, allocations: 7.969 kB / 1.035 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.9081, allocations: 3.938 kB / 1.035 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/0.9099, allocations: 0.6825 MB / 1.036 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008979/0.9108, allocations: 16 kB / 1.036 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.9129, allocations: 103.9 kB / 1.036 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.9131, allocations: 76.89 kB / 1.036 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006699/0.9198, allocations: 2.133 MB / 1.038 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007964/0.9278, allocations: 3.439 MB / 1.042 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0021/0.9299, allocations: 0.8627 MB / 1.042 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.006598/0.9365, allocations: 3.411 MB / 1.046 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of Backend: time 1.122e-06/0.9366, allocations: 0 / 1.046 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02228/0.9589, allocations: 5.254 MB / 1.051 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of SimCode: time 0.02754/0.9864, allocations: 9.45 MB / 1.06 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of Templates: time 0.4626/1.449, allocations: 98.98 MB / 1.157 GB, free: 292.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1)