Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7805/0.7805, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001079/0.001079, allocations: 179.8 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.561/1.561, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.000987/0.0009873, allocations: 97.03 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 267.8 kB / 0.5939 GB, free: 7.922 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.349e-05, allocations: 8 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4708, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8862/1.357, allocations: 394.7 MB / 1.15 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.357, allocations: 101 kB / 1.15 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.99/3.348, allocations: 0.5583 GB / 1.708 GB, free: 18.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.052e-06/3.348, allocations: 0 / 1.708 GB, free: 18.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001425/3.348, allocations: 47.92 kB / 1.708 GB, free: 18.46 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004035/3.352, allocations: 1.898 MB / 1.71 GB, free: 16.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/3.352, allocations: 8.031 kB / 1.71 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/3.356, allocations: 0.6144 MB / 1.711 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/3.36, allocations: 1.786 MB / 1.712 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/3.36, allocations: 128 kB / 1.712 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/3.36, allocations: 116 kB / 1.713 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/3.362, allocations: 1.44 MB / 1.714 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/3.362, allocations: 3.938 kB / 1.714 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/3.362, allocations: 59.98 kB / 1.714 GB, free: 12.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.801e-05/3.362, allocations: 50.17 kB / 1.714 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/3.364, allocations: 1.09 MB / 1.715 GB, free: 11.03 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.008347/3.372, allocations: 6.781 MB / 1.722 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/3.373, allocations: 0.5343 MB / 1.722 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/3.374, allocations: 334.5 kB / 1.723 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/3.375, allocations: 1.267 MB / 1.724 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006877/3.375, allocations: 0.5243 MB / 1.724 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.555e-06/3.375, allocations: 0 / 1.724 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.001553/3.377, allocations: 0.8454 MB / 1.725 GB, free: 96 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4644/3.841, allocations: 479.5 kB / 1.726 GB, free: 100.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/3.844, allocations: 1.231 MB / 1.727 GB, free: 100.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/3.844, allocations: 48.53 kB / 1.727 GB, free: 100.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/3.845, allocations: 0.715 MB / 1.728 GB, free: 100.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/3.845, allocations: 226.7 kB / 1.728 GB, free: 100.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/3.845, allocations: 16.28 kB / 1.728 GB, free: 100.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/3.845, allocations: 339.3 kB / 1.728 GB, free: 100 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/3.846, allocations: 327.7 kB / 1.728 GB, free: 100 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008576/3.847, allocations: 0.6437 MB / 1.729 GB, free: 99.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/3.848, allocations: 412.2 kB / 1.729 GB, free: 99.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/3.848, allocations: 1.969 kB / 1.729 GB, free: 99.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003998/3.852, allocations: 1.262 MB / 1.731 GB, free: 99.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005718/3.852, allocations: 2.521 MB / 1.733 GB, free: 96.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/3.852, allocations: 6.5 kB / 1.733 GB, free: 96.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/3.854, allocations: 327.1 kB / 1.733 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/3.855, allocations: 273.2 kB / 1.734 GB, free: 96.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/3.856, allocations: 0.8421 MB / 1.735 GB, free: 96.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/3.859, allocations: 293.9 kB / 1.735 GB, free: 96.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/3.859, allocations: 58.91 kB / 1.735 GB, free: 96.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/3.859, allocations: 4.438 kB / 1.735 GB, free: 96.36 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003167/3.863, allocations: 1.108 MB / 1.736 GB, free: 96.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/3.863, allocations: 12.2 kB / 1.736 GB, free: 96.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000992/3.864, allocations: 331.2 kB / 1.736 GB, free: 96.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/3.865, allocations: 271.4 kB / 1.737 GB, free: 96.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007054/3.866, allocations: 0.8362 MB / 1.737 GB, free: 95.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/3.868, allocations: 249.5 kB / 1.738 GB, free: 95.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/3.868, allocations: 56.33 kB / 1.738 GB, free: 95.73 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003419/3.869, allocations: 170.4 kB / 1.738 GB, free: 95.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/3.869, allocations: 149.5 kB / 1.738 GB, free: 95.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/3.871, allocations: 0.9415 MB / 1.739 GB, free: 95.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/3.871, allocations: 10.53 kB / 1.739 GB, free: 95.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/3.871, allocations: 0 / 1.739 GB, free: 95.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/3.873, allocations: 0.8206 MB / 1.74 GB, free: 95.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005447/3.879, allocations: 3.274 MB / 1.743 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/3.879, allocations: 6.25 kB / 1.743 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009028/3.88, allocations: 167.7 kB / 1.743 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009775/3.881, allocations: 324.5 kB / 1.743 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/3.881, allocations: 29.22 kB / 1.743 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006949/3.882, allocations: 0.8392 MB / 1.744 GB, free: 93.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/3.882, allocations: 8.219 kB / 1.744 GB, free: 93.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/3.885, allocations: 1.821 MB / 1.746 GB, free: 92.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008898/3.886, allocations: 391.8 kB / 1.746 GB, free: 92.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/3.886, allocations: 19.75 kB / 1.746 GB, free: 92.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/3.887, allocations: 159.2 kB / 1.747 GB, free: 92.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/3.888, allocations: 61.09 kB / 1.747 GB, free: 92.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/3.888, allocations: 39.28 kB / 1.747 GB, free: 92.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001363/3.889, allocations: 0.9806 MB / 1.748 GB, free: 92.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/3.889, allocations: 2.094 kB / 1.748 GB, free: 92.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003248/3.892, allocations: 0.9988 MB / 1.749 GB, free: 92.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00181/3.894, allocations: 0.8866 MB / 1.749 GB, free: 92.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002995/3.897, allocations: 1.472 MB / 1.751 GB, free: 92.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/3.897, allocations: 0 / 1.751 GB, free: 92.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/3.898, allocations: 419.6 kB / 1.751 GB, free: 92.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/3.902, allocations: 0.7943 MB / 1.752 GB, free: 92.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/3.908, allocations: 2.09 MB / 1.754 GB, free: 91.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/3.908, allocations: 1.244 MB / 1.755 GB, free: 90.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00229/3.911, allocations: 469 kB / 1.756 GB, free: 90.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/3.911, allocations: 105.7 kB / 1.756 GB, free: 90.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/3.911, allocations: 0 / 1.756 GB, free: 90.91 MB / 0.698 GB Notification: Performance of Templates: time 0.06927/3.98, allocations: 43.06 MB / 1.798 GB, free: 89.11 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)