Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7871/0.7871, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 176.7 kB / 187.3 MB, free: 11.88 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.579/1.579, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0009698/0.0009697, allocations: 100.4 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 280.8 kB / 0.5939 GB, free: 7.926 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.103e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4886, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8747/1.363, allocations: 394 MB / 1.149 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.364, allocations: 95.2 kB / 1.149 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.862/3.226, allocations: 0.5579 GB / 1.707 GB, free: 19.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/3.226, allocations: 0 / 1.707 GB, free: 19.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001362/3.226, allocations: 39.92 kB / 1.707 GB, free: 19.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003791/3.23, allocations: 1.839 MB / 1.709 GB, free: 17.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/3.23, allocations: 20.02 kB / 1.709 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/3.234, allocations: 0.6105 MB / 1.709 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/3.238, allocations: 1.762 MB / 1.711 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/3.238, allocations: 124 kB / 1.711 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/3.238, allocations: 120 kB / 1.711 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/3.241, allocations: 1.433 MB / 1.713 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/3.241, allocations: 3.938 kB / 1.713 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/3.241, allocations: 55.94 kB / 1.713 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/3.241, allocations: 50.14 kB / 1.713 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/3.243, allocations: 1.09 MB / 1.714 GB, free: 12.16 MB / 0.698 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.00912/3.252, allocations: 6.991 MB / 1.721 GB, free: 4.832 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/3.253, allocations: 0.5789 MB / 1.721 GB, free: 4.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004337/3.253, allocations: 327 kB / 1.722 GB, free: 3.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/3.254, allocations: 1.271 MB / 1.723 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/3.254, allocations: 39.12 kB / 1.723 GB, free: 2.336 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 2.635e-06/3.254, allocations: 0 / 1.723 GB, free: 2.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.001666/3.256, allocations: 0.8074 MB / 1.724 GB, free: 1.512 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/3.256, allocations: 119.5 kB / 1.724 GB, free: 1.371 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/3.258, allocations: 1.222 MB / 1.725 GB, free: 144 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/3.258, allocations: 45.7 kB / 1.725 GB, free: 92 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.4649/3.723, allocations: 0.6928 MB / 1.726 GB, free: 101.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/3.723, allocations: 223.1 kB / 1.726 GB, free: 101.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/3.723, allocations: 16.47 kB / 1.726 GB, free: 101.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/3.723, allocations: 338.8 kB / 1.726 GB, free: 101 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/3.724, allocations: 298.5 kB / 1.727 GB, free: 101 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008044/3.725, allocations: 0.5812 MB / 1.727 GB, free: 100.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006938/3.725, allocations: 359.6 kB / 1.728 GB, free: 100.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/3.725, allocations: 2.375 kB / 1.728 GB, free: 100.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002687/3.728, allocations: 1.117 MB / 1.729 GB, free: 100.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005144/3.729, allocations: 2.496 MB / 1.731 GB, free: 98.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/3.729, allocations: 6.969 kB / 1.731 GB, free: 98.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/3.73, allocations: 436.1 kB / 1.731 GB, free: 98.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/3.732, allocations: 246.2 kB / 1.732 GB, free: 98.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/3.733, allocations: 1.02 MB / 1.733 GB, free: 97.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/3.736, allocations: 277.6 kB / 1.733 GB, free: 97.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/3.736, allocations: 53.09 kB / 1.733 GB, free: 97.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/3.736, allocations: 5.188 kB / 1.733 GB, free: 97.48 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00213/3.738, allocations: 0.9577 MB / 1.734 GB, free: 97.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/3.738, allocations: 7.453 kB / 1.734 GB, free: 97.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/3.74, allocations: 438.7 kB / 1.734 GB, free: 97.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/3.741, allocations: 249.9 kB / 1.735 GB, free: 97.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009914/3.742, allocations: 1.023 MB / 1.736 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/3.744, allocations: 232.7 kB / 1.736 GB, free: 96.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/3.745, allocations: 55.09 kB / 1.736 GB, free: 96.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003547/3.745, allocations: 160.8 kB / 1.736 GB, free: 96.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/3.745, allocations: 145.8 kB / 1.736 GB, free: 96.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/3.747, allocations: 0.9353 MB / 1.737 GB, free: 96.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/3.747, allocations: 7.531 kB / 1.737 GB, free: 96.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/3.747, allocations: 3.953 kB / 1.737 GB, free: 96.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001093/3.748, allocations: 0.8058 MB / 1.738 GB, free: 96.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004865/3.753, allocations: 3.002 MB / 1.741 GB, free: 95.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/3.753, allocations: 6.812 kB / 1.741 GB, free: 95.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/3.754, allocations: 159.1 kB / 1.741 GB, free: 95.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/3.755, allocations: 411.5 kB / 1.741 GB, free: 95.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/3.755, allocations: 27.53 kB / 1.741 GB, free: 95.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/3.757, allocations: 1.092 MB / 1.742 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/3.757, allocations: 10.09 kB / 1.743 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/3.759, allocations: 1.256 MB / 1.744 GB, free: 94.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/3.76, allocations: 389.7 kB / 1.744 GB, free: 94.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/3.76, allocations: 18.23 kB / 1.744 GB, free: 94.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/3.761, allocations: 139 kB / 1.744 GB, free: 94.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/3.762, allocations: 54.33 kB / 1.744 GB, free: 94.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/3.762, allocations: 39.66 kB / 1.744 GB, free: 94.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00141/3.763, allocations: 0.9511 MB / 1.745 GB, free: 94.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/3.763, allocations: 2.406 kB / 1.745 GB, free: 94.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002899/3.766, allocations: 0.9832 MB / 1.746 GB, free: 94.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/3.768, allocations: 0.8689 MB / 1.747 GB, free: 93.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002612/3.77, allocations: 1.335 MB / 1.748 GB, free: 93.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/3.77, allocations: 6.25 kB / 1.748 GB, free: 93.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/3.772, allocations: 470.8 kB / 1.749 GB, free: 93.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/3.775, allocations: 0.7828 MB / 1.75 GB, free: 93.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/3.779, allocations: 1.791 MB / 1.751 GB, free: 93.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/3.779, allocations: 1.241 MB / 1.753 GB, free: 92.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002184/3.782, allocations: 431 kB / 1.753 GB, free: 92.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/3.782, allocations: 99.66 kB / 1.753 GB, free: 92.5 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/3.782, allocations: 0 / 1.753 GB, free: 92.5 MB / 0.698 GB Notification: Performance of Templates: time 0.06179/3.844, allocations: 42.35 MB / 1.794 GB, free: 90.82 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)