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 1.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001032/0.001032, allocations: 180.9 kB / 361.4 MB, free: 6.82 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.516/1.516, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009599/0.0009601, allocations: 94.56 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.622e-05, allocations: 4 kB / 0.8517 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6865, allocations: 115.3 MB / 0.9643 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.745, allocations: 445.5 MB / 1.399 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.746, allocations: 98.06 kB / 1.399 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.208/9.954, allocations: 2.312 GB / 3.712 GB, free: 68.02 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.523e-06/9.954, allocations: 4 kB / 3.712 GB, free: 68.02 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0006625/9.955, allocations: 107.8 kB / 3.712 GB, free: 68 MB / 0.9792 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.01225/9.967, allocations: 4.022 MB / 3.716 GB, free: 65.17 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/9.967, allocations: 14.44 kB / 3.716 GB, free: 65.16 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007263/9.974, allocations: 1.186 MB / 3.717 GB, free: 64.62 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06168/10.04, allocations: 31.06 MB / 3.747 GB, free: 37.76 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/10.04, allocations: 72 kB / 3.747 GB, free: 37.69 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005952/10.04, allocations: 143.9 kB / 3.748 GB, free: 37.55 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003646/10.04, allocations: 2.241 MB / 3.75 GB, free: 35.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/10.04, allocations: 2.507 MB / 3.752 GB, free: 32.65 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/10.04, allocations: 3.938 kB / 3.752 GB, free: 32.64 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/10.04, allocations: 4 kB / 3.752 GB, free: 32.64 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/10.04, allocations: 48 kB / 3.752 GB, free: 32.59 MB / 0.9792 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.01912/10.06, allocations: 12.8 MB / 3.765 GB, free: 19.37 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/10.07, allocations: 2.164 MB / 3.767 GB, free: 17.21 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009123/10.07, allocations: 0.9208 MB / 3.768 GB, free: 16.29 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007605/10.07, allocations: 5.166 MB / 3.773 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/10.08, allocations: 1.101 MB / 3.774 GB, free: 9.715 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001922/10.08, allocations: 174.4 kB / 3.774 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=92): time 3.387e-06/10.08, allocations: 0 / 3.774 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of matching and sorting (n=92): time 0.006955/10.09, allocations: 2.769 MB / 3.777 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/10.09, allocations: 111.6 kB / 3.777 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008167/10.09, allocations: 4.73 MB / 3.782 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009953/10.09, allocations: 29.7 kB / 3.782 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002329/10.1, allocations: 2.155 MB / 3.784 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007797/10.1, allocations: 307.5 kB / 3.784 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/10.1, allocations: 0 / 3.784 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002585/10.1, allocations: 386 kB / 3.784 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/10.1, allocations: 1.046 MB / 3.785 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/10.1, allocations: 2.084 MB / 3.787 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/10.11, allocations: 1.476 MB / 3.789 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/10.11, allocations: 11.78 kB / 3.789 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008009/10.11, allocations: 3.581 MB / 3.792 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005603/10.12, allocations: 13.58 MB / 3.806 GB, free: 7.336 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.687e-05/10.12, allocations: 28 kB / 3.806 GB, free: 7.309 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008998/10.12, allocations: 341.3 kB / 3.806 GB, free: 6.977 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/10.12, allocations: 0.546 MB / 3.807 GB, free: 6.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/10.13, allocations: 6.002 MB / 3.812 GB, free: 236 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/10.13, allocations: 155.5 kB / 3.813 GB, free: 84 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.76/10.89, allocations: 212.1 kB / 3.813 GB, free: 116.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/10.89, allocations: 4.109 kB / 3.813 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007798/10.9, allocations: 2.688 MB / 3.815 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/10.9, allocations: 31.28 kB / 3.815 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/10.9, allocations: 331.5 kB / 3.816 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/10.91, allocations: 0.5857 MB / 3.816 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/10.91, allocations: 2.572 MB / 3.819 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/10.91, allocations: 138 kB / 3.819 GB, free: 114.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005803/10.91, allocations: 209.5 kB / 3.819 GB, free: 114.6 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.0008438/10.91, allocations: 200.2 kB / 3.819 GB, free: 114.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/10.91, allocations: 414.9 kB / 3.82 GB, free: 114.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006853/10.92, allocations: 2.566 MB / 3.822 GB, free: 114.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/10.92, allocations: 17.59 kB / 3.822 GB, free: 114.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/10.92, allocations: 3.328 kB / 3.822 GB, free: 114.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/10.92, allocations: 4.172 kB / 3.822 GB, free: 114.3 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.01405/10.94, allocations: 5.718 MB / 3.828 GB, free: 113.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/10.94, allocations: 1.219 kB / 3.828 GB, free: 113.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/10.94, allocations: 220.5 kB / 3.828 GB, free: 113.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000813/10.94, allocations: 363.3 kB / 3.828 GB, free: 113.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/10.94, allocations: 36.2 kB / 3.828 GB, free: 113.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/10.94, allocations: 4.976 MB / 3.833 GB, free: 109.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/10.94, allocations: 0 / 3.833 GB, free: 109.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/10.95, allocations: 2.438 MB / 3.836 GB, free: 109 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002799/10.95, allocations: 0.92 MB / 3.837 GB, free: 108.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/10.95, allocations: 3.125 kB / 3.837 GB, free: 108.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/10.95, allocations: 148.2 kB / 3.837 GB, free: 108.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/10.95, allocations: 86.53 kB / 3.837 GB, free: 108.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/10.95, allocations: 80.97 kB / 3.837 GB, free: 108.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006433/10.96, allocations: 3.529 MB / 3.84 GB, free: 108.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.01e-07/10.96, allocations: 0 / 3.84 GB, free: 108.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.009321/10.97, allocations: 1.93 MB / 3.842 GB, free: 108.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.00418/10.97, allocations: 2.265 MB / 3.844 GB, free: 108 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.008318/10.98, allocations: 3.98 MB / 3.848 GB, free: 107.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/10.98, allocations: 2.25 kB / 3.848 GB, free: 107.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/10.98, allocations: 0.8253 MB / 3.849 GB, free: 107.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/10.99, allocations: 1.961 MB / 3.851 GB, free: 107.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/11.01, allocations: 5.567 MB / 3.856 GB, free: 106.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003217/11.01, allocations: 2.707 MB / 3.859 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01084/11.02, allocations: 2.149 MB / 3.861 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008121/11.02, allocations: 236.7 kB / 3.861 GB, free: 105.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/11.02, allocations: 0 / 3.861 GB, free: 105.7 MB / 1.01 GB Notification: Performance of Templates: time 0.1725/11.19, allocations: 96.86 MB / 3.956 GB, free: 100.6 MB / 1.01 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)