Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001197/0.001197, allocations: 172.9 kB / 366.7 MB, free: 1.688 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.535/1.535, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008803/0.0008804, allocations: 88.27 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.392e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6226/0.6226, allocations: 116.3 MB / 0.9732 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.628, allocations: 436.9 MB / 1.4 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/1.629, allocations: 87.02 kB / 1.4 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.681/4.31, allocations: 0.6804 GB / 2.08 GB, free: 156.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.833e-06/4.31, allocations: 0 / 2.08 GB, free: 156.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004126/4.31, allocations: 51.73 kB / 2.08 GB, free: 156.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005944/4.316, allocations: 1.948 MB / 2.082 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/4.316, allocations: 11.66 kB / 2.082 GB, free: 155.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/4.32, allocations: 0.543 MB / 2.083 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03155/4.351, allocations: 14.03 MB / 2.097 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/4.351, allocations: 31.16 kB / 2.097 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005135/4.352, allocations: 67.91 kB / 2.097 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002342/4.354, allocations: 0.8533 MB / 2.098 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/4.357, allocations: 1.101 MB / 2.099 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/4.357, allocations: 0 / 2.099 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/4.357, allocations: 3.719 kB / 2.099 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/4.357, allocations: 32.92 kB / 2.099 GB, free: 154.7 MB / 0.948 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.01072/4.368, allocations: 5.452 MB / 2.104 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/4.37, allocations: 0.8619 MB / 2.105 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/4.37, allocations: 361.2 kB / 2.105 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003586/4.374, allocations: 2.205 MB / 2.107 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/4.374, allocations: 42.62 kB / 2.107 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008646/4.375, allocations: 108.2 kB / 2.107 GB, free: 150.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 3.977e-06/4.375, allocations: 0 / 2.107 GB, free: 150.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.003597/4.378, allocations: 1.123 MB / 2.109 GB, free: 150.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/4.378, allocations: 217.3 kB / 2.109 GB, free: 150.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/4.381, allocations: 1.184 MB / 2.11 GB, free: 150 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/4.381, allocations: 28.64 kB / 2.11 GB, free: 150 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/4.382, allocations: 0.802 MB / 2.111 GB, free: 149.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/4.382, allocations: 217.1 kB / 2.111 GB, free: 149.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/4.382, allocations: 0 / 2.111 GB, free: 149.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/4.382, allocations: 346 kB / 2.111 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/4.382, allocations: 356.5 kB / 2.112 GB, free: 149.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/4.383, allocations: 0.733 MB / 2.112 GB, free: 148.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/4.385, allocations: 0.5448 MB / 2.113 GB, free: 148.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/4.385, allocations: 3.781 kB / 2.113 GB, free: 148.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003106/4.388, allocations: 1.365 MB / 2.114 GB, free: 148.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007571/4.389, allocations: 3.344 MB / 2.117 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/4.389, allocations: 14.98 kB / 2.117 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/4.39, allocations: 290 kB / 2.118 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/4.39, allocations: 199.7 kB / 2.118 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/4.392, allocations: 1.526 MB / 2.119 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/4.393, allocations: 66.83 kB / 2.119 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/4.393, allocations: 78.98 kB / 2.12 GB, free: 144.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/4.393, allocations: 3.406 kB / 2.12 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/4.396, allocations: 1.115 MB / 2.121 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/4.396, allocations: 11.75 kB / 2.121 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000736/4.397, allocations: 288.2 kB / 2.121 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/4.397, allocations: 195.5 kB / 2.121 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005694/4.403, allocations: 3.816 MB / 2.125 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/4.404, allocations: 70.66 kB / 2.125 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/4.404, allocations: 62.23 kB / 2.125 GB, free: 141.9 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004236/4.405, allocations: 148.2 kB / 2.125 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004733/4.405, allocations: 157.1 kB / 2.125 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/4.409, allocations: 1.333 MB / 2.127 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/4.409, allocations: 15.97 kB / 2.127 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/4.409, allocations: 0 / 2.127 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/4.409, allocations: 3.562 kB / 2.127 GB, free: 141.6 MB / 0.948 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.005711/4.415, allocations: 2.407 MB / 2.129 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/4.415, allocations: 3.953 kB / 2.129 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/4.416, allocations: 113.6 kB / 2.129 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/4.416, allocations: 206.5 kB / 2.129 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/4.416, allocations: 18.03 kB / 2.129 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/4.417, allocations: 1.365 MB / 2.131 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/4.417, allocations: 6.469 kB / 2.131 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/4.42, allocations: 1.675 MB / 2.132 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/4.421, allocations: 338.8 kB / 2.133 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004801/4.422, allocations: 0 / 2.133 GB, free: 139.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/4.423, allocations: 78.41 kB / 2.133 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/4.423, allocations: 51.66 kB / 2.133 GB, free: 139.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/4.423, allocations: 41.47 kB / 2.133 GB, free: 139.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001956/4.425, allocations: 0.8911 MB / 2.134 GB, free: 139.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/4.425, allocations: 0 / 2.134 GB, free: 139.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005287/4.431, allocations: 1.035 MB / 2.135 GB, free: 139.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003076/4.434, allocations: 1.31 MB / 2.136 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003168/4.437, allocations: 1.762 MB / 2.138 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/4.437, allocations: 0 / 2.138 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000702/4.438, allocations: 416 kB / 2.138 GB, free: 138.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/4.441, allocations: 0.668 MB / 2.139 GB, free: 138.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/4.446, allocations: 2.138 MB / 2.141 GB, free: 138 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/4.447, allocations: 1.426 MB / 2.142 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002738/4.45, allocations: 0.5547 MB / 2.143 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/4.45, allocations: 101.3 kB / 2.143 GB, free: 137.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/4.45, allocations: 0 / 2.143 GB, free: 137.2 MB / 0.948 GB Notification: Performance of Templates: time 0.06469/4.515, allocations: 40.58 MB / 2.182 GB, free: 134.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)