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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.58/1.58, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001275/0.001275, allocations: 176.9 kB / 366.7 MB, free: 1.656 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.582/1.582, allocations: 205.2 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009407/0.0009404, allocations: 91.86 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.973e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.7005, allocations: 116.3 MB / 0.9732 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.756, allocations: 446.4 MB / 1.409 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/1.756, allocations: 94.58 kB / 1.409 GB, free: 111 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.334/10.09, allocations: 2.312 GB / 3.722 GB, free: 87.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.064e-06/10.09, allocations: 3.844 kB / 3.722 GB, free: 87.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008027/10.09, allocations: 113.9 kB / 3.722 GB, free: 87.56 MB / 0.9948 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.0128/10.1, allocations: 4.024 MB / 3.726 GB, free: 85.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/10.1, allocations: 10.59 kB / 3.726 GB, free: 85.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007542/10.11, allocations: 1.185 MB / 3.727 GB, free: 85.14 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06213/10.17, allocations: 31.06 MB / 3.757 GB, free: 70.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/10.17, allocations: 72.25 kB / 3.757 GB, free: 70.56 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000739/10.17, allocations: 142.3 kB / 3.757 GB, free: 70.56 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003726/10.18, allocations: 2.238 MB / 3.76 GB, free: 69.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/10.18, allocations: 2.505 MB / 3.762 GB, free: 67.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/10.18, allocations: 3.938 kB / 3.762 GB, free: 67.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/10.18, allocations: 9.594 kB / 3.762 GB, free: 67.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/10.18, allocations: 52.47 kB / 3.762 GB, free: 67.98 MB / 0.9948 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.02144/10.2, allocations: 12.8 MB / 3.775 GB, free: 55.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/10.21, allocations: 2.162 MB / 3.777 GB, free: 53.15 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/10.21, allocations: 0.9247 MB / 3.778 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007978/10.22, allocations: 5.158 MB / 3.783 GB, free: 46.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/10.22, allocations: 1.105 MB / 3.784 GB, free: 45.65 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001998/10.22, allocations: 169 kB / 3.784 GB, free: 45.48 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=92): time 3.697e-06/10.22, allocations: 0 / 3.784 GB, free: 45.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92): time 0.006924/10.23, allocations: 2.762 MB / 3.787 GB, free: 42.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/10.23, allocations: 119.5 kB / 3.787 GB, free: 42.55 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008052/10.23, allocations: 4.734 MB / 3.791 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006615/10.23, allocations: 29.7 kB / 3.791 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001809/10.24, allocations: 2.155 MB / 3.794 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/10.24, allocations: 307.5 kB / 3.794 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/10.24, allocations: 0 / 3.794 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/10.24, allocations: 382 kB / 3.794 GB, free: 34.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/10.24, allocations: 1.046 MB / 3.795 GB, free: 33.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/10.24, allocations: 2.084 MB / 3.797 GB, free: 31.29 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/10.24, allocations: 1.476 MB / 3.799 GB, free: 29.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/10.24, allocations: 11.95 kB / 3.799 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006897/10.25, allocations: 3.585 MB / 3.802 GB, free: 26.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003105/10.25, allocations: 13.58 MB / 3.815 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.135e-05/10.25, allocations: 28 kB / 3.815 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008028/10.25, allocations: 343.6 kB / 3.816 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/10.26, allocations: 0.546 MB / 3.816 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/10.26, allocations: 6.008 MB / 3.822 GB, free: 4.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/10.27, allocations: 143.8 kB / 3.822 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004912/10.27, allocations: 219.9 kB / 3.823 GB, free: 3.824 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/10.27, allocations: 4.625 kB / 3.823 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005332/10.27, allocations: 2.69 MB / 3.825 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/10.27, allocations: 28 kB / 3.825 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/10.27, allocations: 341.4 kB / 3.826 GB, free: 0.7578 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/10.27, allocations: 0.5812 MB / 3.826 GB, free: 180 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/10.28, allocations: 2.572 MB / 3.829 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/10.28, allocations: 139.9 kB / 3.829 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/10.28, allocations: 204 kB / 3.829 GB, free: 13.17 MB / 1.01 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.0009181/10.28, allocations: 215.3 kB / 3.829 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/10.28, allocations: 406.7 kB / 3.83 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006701/10.29, allocations: 2.579 MB / 3.832 GB, free: 9.988 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/10.29, allocations: 19.98 kB / 3.832 GB, free: 9.969 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/10.29, allocations: 4 kB / 3.832 GB, free: 9.965 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/10.29, allocations: 3.984 kB / 3.832 GB, free: 9.961 MB / 1.01 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.0135/10.3, allocations: 5.714 MB / 3.838 GB, free: 4.195 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/10.3, allocations: 0 / 3.838 GB, free: 4.195 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/10.31, allocations: 215.8 kB / 3.838 GB, free: 3.984 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/10.31, allocations: 355.5 kB / 3.838 GB, free: 3.629 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/10.31, allocations: 31.95 kB / 3.838 GB, free: 3.598 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7959/11.1, allocations: 4.982 MB / 3.843 GB, free: 119.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/11.1, allocations: 3.562 kB / 3.843 GB, free: 119.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006742/11.11, allocations: 2.425 MB / 3.845 GB, free: 118.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002999/11.11, allocations: 0.9221 MB / 3.846 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/11.11, allocations: 4.812 kB / 3.846 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/11.12, allocations: 147.7 kB / 3.847 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/11.12, allocations: 91.16 kB / 3.847 GB, free: 118.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/11.12, allocations: 79.84 kB / 3.847 GB, free: 118.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009644/11.13, allocations: 3.523 MB / 3.85 GB, free: 118.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.01e-07/11.13, allocations: 0.875 kB / 3.85 GB, free: 118.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009996/11.14, allocations: 1.922 MB / 3.852 GB, free: 118.4 MB / 1.01 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.004676/11.14, allocations: 2.276 MB / 3.854 GB, free: 117.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007289/11.15, allocations: 3.988 MB / 3.858 GB, free: 117.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/11.15, allocations: 2.906 kB / 3.858 GB, free: 117.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/11.15, allocations: 0.8183 MB / 3.859 GB, free: 117.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00952/11.16, allocations: 1.961 MB / 3.861 GB, free: 117.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/11.17, allocations: 5.558 MB / 3.866 GB, free: 116.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/11.17, allocations: 2.7 MB / 3.869 GB, free: 115.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.009174/11.18, allocations: 2.152 MB / 3.871 GB, free: 115.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/11.18, allocations: 228 kB / 3.871 GB, free: 115.6 MB / 1.01 GB Notification: Performance of SimCode: time 1.473e-06/11.18, allocations: 0 / 3.871 GB, free: 115.6 MB / 1.01 GB Notification: Performance of Templates: time 0.1788/11.36, allocations: 96.86 MB / 3.966 GB, free: 110.7 MB / 1.01 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)