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.7981/0.7981, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 183.8 kB / 182.2 MB, free: 9.461 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.545/1.545, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.0008567/0.0008567, allocations: 87.38 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 283.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.704e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4698/0.4698, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9236/1.394, allocations: 394 MB / 1.142 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.394, allocations: 92.08 kB / 1.142 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.006/3.4, allocations: 0.5556 GB / 1.698 GB, free: 19.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.807e-06/3.4, allocations: 0 / 1.698 GB, free: 19.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003852/3.4, allocations: 43.98 kB / 1.698 GB, free: 19.12 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.006498/3.407, allocations: 1.896 MB / 1.7 GB, free: 17.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/3.407, allocations: 12.03 kB / 1.7 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/3.411, allocations: 0.6066 MB / 1.7 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004562/3.416, allocations: 1.786 MB / 1.702 GB, free: 14.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/3.416, allocations: 91.97 kB / 1.702 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/3.417, allocations: 72 kB / 1.702 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002413/3.419, allocations: 1.02 MB / 1.703 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/3.422, allocations: 1.277 MB / 1.704 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/3.422, allocations: 0 / 1.704 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/3.422, allocations: 8 kB / 1.704 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/3.422, allocations: 54.11 kB / 1.704 GB, free: 12.07 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.01052/3.433, allocations: 6.509 MB / 1.711 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/3.434, allocations: 0.5044 MB / 1.711 GB, free: 4.762 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/3.434, allocations: 320.7 kB / 1.712 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/3.435, allocations: 1.263 MB / 1.713 GB, free: 2.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007135/3.436, allocations: 0.5036 MB / 1.713 GB, free: 2.348 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.206e-06/3.436, allocations: 0 / 1.713 GB, free: 2.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.002978/3.439, allocations: 0.9081 MB / 1.714 GB, free: 1.426 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/3.439, allocations: 483.5 kB / 1.715 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4469/3.886, allocations: 0.98 MB / 1.716 GB, free: 104 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/3.886, allocations: 30.91 kB / 1.716 GB, free: 103.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/3.887, allocations: 0.7294 MB / 1.716 GB, free: 103.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/3.887, allocations: 221.9 kB / 1.717 GB, free: 103.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/3.887, allocations: 0.8438 kB / 1.717 GB, free: 103.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/3.887, allocations: 337.1 kB / 1.717 GB, free: 103.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/3.888, allocations: 312.5 kB / 1.717 GB, free: 103.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/3.889, allocations: 0.6116 MB / 1.718 GB, free: 103.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/3.891, allocations: 0.4973 MB / 1.718 GB, free: 103 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/3.891, allocations: 2.219 kB / 1.718 GB, free: 103 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004874/3.896, allocations: 1.257 MB / 1.72 GB, free: 102.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004907/3.896, allocations: 2.491 MB / 1.722 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/3.896, allocations: 6.578 kB / 1.722 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006999/3.897, allocations: 277.1 kB / 1.722 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/3.899, allocations: 263.2 kB / 1.723 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/3.9, allocations: 0.8923 MB / 1.723 GB, free: 99.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/3.902, allocations: 238 kB / 1.724 GB, free: 99.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/3.902, allocations: 56.25 kB / 1.724 GB, free: 99.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/3.902, allocations: 3.438 kB / 1.724 GB, free: 99.81 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004269/3.907, allocations: 1.117 MB / 1.725 GB, free: 99.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/3.907, allocations: 10.25 kB / 1.725 GB, free: 99.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/3.907, allocations: 269.5 kB / 1.725 GB, free: 99.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/3.909, allocations: 266.2 kB / 1.725 GB, free: 99.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009489/3.91, allocations: 0.892 MB / 1.726 GB, free: 99.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/3.912, allocations: 200.1 kB / 1.726 GB, free: 99.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/3.912, allocations: 57.62 kB / 1.726 GB, free: 99.22 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.0003798/3.912, allocations: 131.8 kB / 1.727 GB, free: 99.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/3.913, allocations: 128.9 kB / 1.727 GB, free: 99.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/3.916, allocations: 1.007 MB / 1.728 GB, free: 98.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/3.916, allocations: 7.781 kB / 1.728 GB, free: 98.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/3.916, allocations: 1.531 kB / 1.728 GB, free: 98.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002855/3.919, allocations: 0.8985 MB / 1.729 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005487/3.924, allocations: 3.174 MB / 1.732 GB, free: 97.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/3.925, allocations: 8.062 kB / 1.732 GB, free: 97.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/3.925, allocations: 162.4 kB / 1.732 GB, free: 97.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/3.926, allocations: 273.8 kB / 1.732 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/3.926, allocations: 18.59 kB / 1.732 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008575/3.927, allocations: 0.8908 MB / 1.733 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/3.927, allocations: 4.688 kB / 1.733 GB, free: 97.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/3.931, allocations: 1.817 MB / 1.735 GB, free: 96.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/3.931, allocations: 370.9 kB / 1.735 GB, free: 96.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/3.932, allocations: 6.875 kB / 1.735 GB, free: 96.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/3.933, allocations: 140.8 kB / 1.735 GB, free: 96.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/3.933, allocations: 62.56 kB / 1.735 GB, free: 96.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/3.933, allocations: 39.36 kB / 1.735 GB, free: 96.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009311/3.934, allocations: 0.7498 MB / 1.736 GB, free: 96.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.182e-06/3.934, allocations: 3 kB / 1.736 GB, free: 96.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003328/3.938, allocations: 0.9933 MB / 1.737 GB, free: 96.29 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.001626/3.939, allocations: 0.8939 MB / 1.738 GB, free: 96.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002296/3.942, allocations: 1.384 MB / 1.739 GB, free: 96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/3.942, allocations: 3.875 kB / 1.739 GB, free: 96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006085/3.942, allocations: 394.2 kB / 1.74 GB, free: 96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/3.945, allocations: 0.5843 MB / 1.74 GB, free: 95.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/3.95, allocations: 2.015 MB / 1.742 GB, free: 95.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/3.95, allocations: 1.243 MB / 1.743 GB, free: 94.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001951/3.952, allocations: 408 kB / 1.744 GB, free: 94.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/3.953, allocations: 96.38 kB / 1.744 GB, free: 94.62 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/3.953, allocations: 0 / 1.744 GB, free: 94.62 MB / 0.698 GB Notification: Performance of Templates: time 0.04647/3.999, allocations: 34.1 MB / 1.777 GB, free: 93.2 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)