Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages") translateModel(BuildingSystems.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7854/0.7854, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 184.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 79.89 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001838/0.001837, allocations: 284 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.678e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4504, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8865/1.337, allocations: 403.8 MB / 1.152 GB, free: 10.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/1.337, allocations: 101.9 kB / 1.152 GB, free: 10.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.521/10.86, allocations: 2.358 GB / 3.51 GB, free: 85.53 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.206e-06/10.86, allocations: 1.812 kB / 3.51 GB, free: 85.53 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001237/10.86, allocations: 112.3 kB / 3.51 GB, free: 85.52 MB / 0.7605 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.01716/10.88, allocations: 4.023 MB / 3.514 GB, free: 83.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/10.88, allocations: 9.625 kB / 3.514 GB, free: 83.52 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008674/10.89, allocations: 1.188 MB / 3.515 GB, free: 83.24 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07343/10.96, allocations: 31.52 MB / 3.546 GB, free: 81.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/10.96, allocations: 70.97 kB / 3.546 GB, free: 81.42 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/10.96, allocations: 146.5 kB / 3.546 GB, free: 81.42 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00685/10.97, allocations: 2.24 MB / 3.548 GB, free: 81.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008878/10.98, allocations: 2.507 MB / 3.551 GB, free: 81.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-05/10.98, allocations: 2.406 kB / 3.551 GB, free: 81.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008277/10.98, allocations: 7.141 kB / 3.551 GB, free: 81.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.113e-05/10.98, allocations: 50.59 kB / 3.551 GB, free: 81.02 MB / 0.7605 GB Warning: The model contains alias variables with conflicting start and/or 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.0278/11.01, allocations: 12.81 MB / 3.563 GB, free: 76.43 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/11.01, allocations: 2.164 MB / 3.565 GB, free: 76.39 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/11.01, allocations: 0.9193 MB / 3.566 GB, free: 76.38 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/11.02, allocations: 5.167 MB / 3.571 GB, free: 74.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/11.02, allocations: 1.108 MB / 3.572 GB, free: 73.86 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003351/11.03, allocations: 171.5 kB / 3.572 GB, free: 73.78 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=92): time 7.694e-06/11.03, allocations: 0 / 3.572 GB, free: 73.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=92): time 0.008422/11.04, allocations: 2.769 MB / 3.575 GB, free: 72.81 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/11.04, allocations: 116.3 kB / 3.575 GB, free: 72.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/11.05, allocations: 4.734 MB / 3.58 GB, free: 70.75 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009018/11.05, allocations: 38.2 kB / 3.58 GB, free: 70.71 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/11.05, allocations: 2.141 MB / 3.582 GB, free: 69.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007349/11.05, allocations: 304.6 kB / 3.582 GB, free: 68.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/11.05, allocations: 0 / 3.582 GB, free: 68.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001446/11.05, allocations: 394.7 kB / 3.583 GB, free: 68.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/11.05, allocations: 1.043 MB / 3.584 GB, free: 68.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/11.05, allocations: 2.072 MB / 3.586 GB, free: 66.27 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/11.06, allocations: 1.483 MB / 3.587 GB, free: 65.77 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/11.06, allocations: 11.38 kB / 3.587 GB, free: 65.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.0081/11.07, allocations: 3.584 MB / 3.591 GB, free: 64.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.004142/11.07, allocations: 13.58 MB / 3.604 GB, free: 49.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-05/11.07, allocations: 29.88 kB / 3.604 GB, free: 49.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009454/11.07, allocations: 337 kB / 3.604 GB, free: 49.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/11.07, allocations: 0.5489 MB / 3.605 GB, free: 49.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/11.08, allocations: 6.008 MB / 3.611 GB, free: 44.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004785/11.08, allocations: 156.5 kB / 3.611 GB, free: 44.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008227/11.08, allocations: 214.1 kB / 3.611 GB, free: 44.37 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/11.08, allocations: 7.062 kB / 3.611 GB, free: 44.37 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007377/11.09, allocations: 2.692 MB / 3.614 GB, free: 43.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.632e-05/11.09, allocations: 28.28 kB / 3.614 GB, free: 43.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007145/11.09, allocations: 338.6 kB / 3.614 GB, free: 43.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/11.1, allocations: 0.5786 MB / 3.615 GB, free: 43.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/11.1, allocations: 2.571 MB / 3.617 GB, free: 57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/11.1, allocations: 145.5 kB / 3.617 GB, free: 56.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000698/11.1, allocations: 206.5 kB / 3.617 GB, free: 56.96 MB / 0.7761 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * 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: 4 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001233/11.1, allocations: 200.9 kB / 3.618 GB, free: 56.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/11.11, allocations: 405.4 kB / 3.618 GB, free: 56.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008263/11.11, allocations: 2.579 MB / 3.621 GB, free: 55.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/11.11, allocations: 26.19 kB / 3.621 GB, free: 55.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/11.11, allocations: 0 / 3.621 GB, free: 55.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/11.11, allocations: 8.25 kB / 3.621 GB, free: 55.7 MB / 0.7761 GB Warning: The model contains alias variables with conflicting start and/or 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.0167/11.13, allocations: 5.72 MB / 3.626 GB, free: 53.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/11.13, allocations: 0 / 3.626 GB, free: 53.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/11.13, allocations: 215.6 kB / 3.626 GB, free: 53.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007728/11.13, allocations: 364.8 kB / 3.627 GB, free: 53.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/11.13, allocations: 33 kB / 3.627 GB, free: 53.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/11.14, allocations: 4.978 MB / 3.632 GB, free: 48.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/11.14, allocations: 7.375 kB / 3.632 GB, free: 48.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006183/11.14, allocations: 2.433 MB / 3.634 GB, free: 47.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003086/11.15, allocations: 0.924 MB / 3.635 GB, free: 46.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/11.15, allocations: 11.89 kB / 3.635 GB, free: 46.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/11.15, allocations: 140.1 kB / 3.635 GB, free: 46.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/11.15, allocations: 94.17 kB / 3.635 GB, free: 46.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/11.15, allocations: 78.33 kB / 3.635 GB, free: 46.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.008096/11.16, allocations: 3.532 MB / 3.639 GB, free: 43.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.31e-07/11.16, allocations: 0 / 3.639 GB, free: 43.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0112/11.17, allocations: 1.933 MB / 3.641 GB, free: 41.45 MB / 0.7761 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * 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: 6 * 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: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005428/11.18, allocations: 2.272 MB / 3.643 GB, free: 39.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.009018/11.19, allocations: 3.983 MB / 3.647 GB, free: 36.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/11.19, allocations: 4.125 kB / 3.647 GB, free: 36.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/11.19, allocations: 0.8169 MB / 3.647 GB, free: 35.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/11.2, allocations: 1.953 MB / 3.649 GB, free: 33.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/11.22, allocations: 5.569 MB / 3.655 GB, free: 28.76 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006553/11.22, allocations: 2.708 MB / 3.657 GB, free: 26.72 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.01193/11.24, allocations: 2.161 MB / 3.66 GB, free: 25.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008701/11.24, allocations: 233.2 kB / 3.66 GB, free: 25.12 MB / 0.7761 GB Notification: Performance of SimCode: time 1.663e-06/11.24, allocations: 0 / 3.66 GB, free: 25.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.8389/12.08, allocations: 96.89 MB / 3.754 GB, free: 94.16 MB / 0.7761 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.MoverStages.pipe 2>&1)