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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8149/0.8149, allocations: 140 MB / 156 MB, free: 8.27 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001488/0.001488, allocations: 178.6 kB / 188.5 MB, free: 8.855 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 426.3 MB, free: 8.109 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008217, allocations: 89.31 kB / 0.4945 GB, free: 8.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001882/0.001883, allocations: 273.2 kB / 0.5728 GB, free: 66.12 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005146, allocations: 16 kB / 0.662 GB, free: 6.711 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.445, allocations: 79.3 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8067/1.252, allocations: 391.4 MB / 1.122 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.252, allocations: 97.64 kB / 1.122 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.215/3.467, allocations: 0.5405 GB / 1.662 GB, free: 93.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.362e-06/3.467, allocations: 0 / 1.662 GB, free: 93.14 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001607/3.468, allocations: 39.25 kB / 1.662 GB, free: 93.14 MB / 0.6667 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.004658/3.472, allocations: 2.089 MB / 1.664 GB, free: 92.42 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/3.472, allocations: 14.16 kB / 1.664 GB, free: 92.42 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00384/3.476, allocations: 0.6118 MB / 1.665 GB, free: 92.33 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/3.48, allocations: 1.767 MB / 1.667 GB, free: 91.97 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/3.48, allocations: 125.2 kB / 1.667 GB, free: 91.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/3.48, allocations: 118.4 kB / 1.667 GB, free: 91.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/3.484, allocations: 1.626 MB / 1.669 GB, free: 91.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/3.484, allocations: 11.41 kB / 1.669 GB, free: 91.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/3.484, allocations: 48 kB / 1.669 GB, free: 91.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/3.484, allocations: 40.53 kB / 1.669 GB, free: 91.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004467/3.489, allocations: 1.434 MB / 1.67 GB, free: 91.64 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01167/3.5, allocations: 6.956 MB / 1.677 GB, free: 88.51 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/3.502, allocations: 0.7271 MB / 1.678 GB, free: 88.48 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/3.503, allocations: 472.4 kB / 1.678 GB, free: 88.47 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/3.505, allocations: 1.271 MB / 1.679 GB, free: 87.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/3.505, allocations: 40.25 kB / 1.679 GB, free: 87.03 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=64): time 3.737e-06/3.505, allocations: 1.75 kB / 1.679 GB, free: 87.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64): time 0.009739/3.514, allocations: 2.403 MB / 1.682 GB, free: 86.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/3.514, allocations: 117 kB / 1.682 GB, free: 86.68 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/3.517, allocations: 1.37 MB / 1.683 GB, free: 86.51 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/3.517, allocations: 45.95 kB / 1.683 GB, free: 86.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/3.517, allocations: 0.7016 MB / 1.684 GB, free: 86.28 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/3.518, allocations: 219.1 kB / 1.684 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/3.518, allocations: 14.69 kB / 1.684 GB, free: 86.17 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/3.518, allocations: 344.9 kB / 1.684 GB, free: 85.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/3.519, allocations: 470.1 kB / 1.685 GB, free: 85.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/3.521, allocations: 0.7585 MB / 1.686 GB, free: 85.54 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/3.524, allocations: 1.076 MB / 1.687 GB, free: 85.31 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/3.524, allocations: 0 / 1.687 GB, free: 85.31 MB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00418/3.528, allocations: 1.48 MB / 1.688 GB, free: 85.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/3.528, allocations: 282 kB / 1.688 GB, free: 84.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/3.528, allocations: 3.938 kB / 1.688 GB, free: 84.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/3.53, allocations: 456.2 kB / 1.689 GB, free: 84.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/3.531, allocations: 250.8 kB / 1.689 GB, free: 84.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/3.532, allocations: 1.074 MB / 1.69 GB, free: 84.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/3.535, allocations: 269.3 kB / 1.69 GB, free: 84.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/3.535, allocations: 54.91 kB / 1.69 GB, free: 84.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/3.535, allocations: 3.562 kB / 1.69 GB, free: 84.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004145/3.539, allocations: 1.317 MB / 1.692 GB, free: 84.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/3.539, allocations: 6.594 kB / 1.692 GB, free: 84.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/3.541, allocations: 463.8 kB / 1.692 GB, free: 84.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/3.542, allocations: 247.3 kB / 1.692 GB, free: 84.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/3.543, allocations: 1.073 MB / 1.693 GB, free: 83.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/3.546, allocations: 230.5 kB / 1.694 GB, free: 83.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/3.546, allocations: 54.23 kB / 1.694 GB, free: 83.69 MB / 0.6667 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 () * Number of clocked 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.001249/3.547, allocations: 451 kB / 1.694 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007599/3.548, allocations: 145.5 kB / 1.694 GB, free: 83.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/3.552, allocations: 1.222 MB / 1.695 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/3.552, allocations: 9.594 kB / 1.695 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/3.552, allocations: 0 / 1.695 GB, free: 83.34 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002943/3.555, allocations: 1.1 MB / 1.696 GB, free: 83.16 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007833/3.563, allocations: 3.284 MB / 1.7 GB, free: 82.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/3.563, allocations: 6.656 kB / 1.7 GB, free: 82.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/3.564, allocations: 147.9 kB / 1.7 GB, free: 82.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/3.565, allocations: 458.6 kB / 1.7 GB, free: 82.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/3.565, allocations: 19.19 kB / 1.7 GB, free: 82.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/3.566, allocations: 1.057 MB / 1.701 GB, free: 81.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/3.566, allocations: 7.938 kB / 1.701 GB, free: 81.69 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/3.57, allocations: 1.356 MB / 1.703 GB, free: 81.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/3.571, allocations: 382.2 kB / 1.703 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005034/3.571, allocations: 14.41 kB / 1.703 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/3.573, allocations: 139.9 kB / 1.703 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/3.573, allocations: 55.88 kB / 1.703 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/3.574, allocations: 44.28 kB / 1.703 GB, free: 81.16 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002099/3.576, allocations: 0.9516 MB / 1.704 GB, free: 81.05 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.01e-07/3.576, allocations: 2.562 kB / 1.704 GB, free: 81.05 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003939/3.58, allocations: 0.9416 MB / 1.705 GB, free: 80.9 MB / 0.6667 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) * Number of clocked states: 0 () * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/3.582, allocations: 0.8286 MB / 1.706 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005393/3.587, allocations: 1.742 MB / 1.708 GB, free: 80.65 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/3.587, allocations: 0 / 1.708 GB, free: 80.65 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/3.589, allocations: 0.5117 MB / 1.708 GB, free: 80.64 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/3.594, allocations: 0.8026 MB / 1.709 GB, free: 80.63 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/3.6, allocations: 2.975 MB / 1.712 GB, free: 79.26 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/3.601, allocations: 1.209 MB / 1.713 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002226/3.604, allocations: 330 kB / 1.713 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/3.604, allocations: 130.2 kB / 1.713 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of SimCode: time 1.393e-06/3.604, allocations: 0 / 1.713 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of Templates: time 0.06656/3.671, allocations: 40.05 MB / 1.753 GB, free: 76.48 MB / 0.6667 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)