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 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_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.776/0.776, allocations: 140.1 MB / 156 MB, free: 5.164 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.001086/0.001086, allocations: 183.2 kB / 188.5 MB, free: 15.81 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.643/1.643, allocations: 205.4 MB / 426.4 MB, free: 8.453 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.0008424/0.0008426, allocations: 86.38 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001712/0.001712, allocations: 270.6 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005275/0.0005276, allocations: 16 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4413, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.807/1.248, allocations: 392 MB / 1.122 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.249, allocations: 91.53 kB / 1.122 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.211/3.46, allocations: 0.5409 GB / 1.663 GB, free: 93.33 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.174e-06/3.46, allocations: 0.9688 kB / 1.663 GB, free: 93.33 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002973/3.461, allocations: 43.11 kB / 1.663 GB, free: 93.33 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00699/3.468, allocations: 2.142 MB / 1.665 GB, free: 92.59 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/3.468, allocations: 11.56 kB / 1.665 GB, free: 92.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/3.472, allocations: 0.6137 MB / 1.666 GB, free: 92.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/3.477, allocations: 1.783 MB / 1.668 GB, free: 92.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/3.477, allocations: 130.4 kB / 1.668 GB, free: 92.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/3.478, allocations: 123.6 kB / 1.668 GB, free: 92.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/3.483, allocations: 1.641 MB / 1.67 GB, free: 91.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.751e-05/3.483, allocations: 8.625 kB / 1.67 GB, free: 91.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/3.483, allocations: 54.86 kB / 1.67 GB, free: 91.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/3.483, allocations: 33.59 kB / 1.67 GB, free: 91.84 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004978/3.488, allocations: 1.464 MB / 1.671 GB, free: 91.82 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.01116/3.499, allocations: 6.725 MB / 1.678 GB, free: 89.01 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/3.502, allocations: 0.7255 MB / 1.678 GB, free: 88.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/3.503, allocations: 496.5 kB / 1.679 GB, free: 88.97 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/3.504, allocations: 1.266 MB / 1.68 GB, free: 87.56 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/3.506, allocations: 0.6734 MB / 1.681 GB, free: 87.39 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 5.15e-06/3.506, allocations: 0 / 1.681 GB, free: 87.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.01037/3.516, allocations: 2.328 MB / 1.683 GB, free: 87.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/3.517, allocations: 478.8 kB / 1.683 GB, free: 86.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/3.52, allocations: 1.383 MB / 1.685 GB, free: 86.44 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002025/3.52, allocations: 53.45 kB / 1.685 GB, free: 86.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007027/3.52, allocations: 0.7108 MB / 1.686 GB, free: 86.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/3.521, allocations: 224.9 kB / 1.686 GB, free: 86.08 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/3.521, allocations: 21.41 kB / 1.686 GB, free: 86.08 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/3.521, allocations: 339.8 kB / 1.686 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/3.523, allocations: 0.4967 MB / 1.687 GB, free: 85.78 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/3.525, allocations: 0.8192 MB / 1.687 GB, free: 85.45 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/3.528, allocations: 1.157 MB / 1.689 GB, free: 85.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/3.528, allocations: 1.562 kB / 1.689 GB, free: 85.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.006178/3.534, allocations: 1.638 MB / 1.69 GB, free: 85.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/3.535, allocations: 310.4 kB / 1.69 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/3.535, allocations: 10.88 kB / 1.69 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/3.536, allocations: 364.5 kB / 1.691 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/3.537, allocations: 267.5 kB / 1.691 GB, free: 84.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/3.538, allocations: 0.897 MB / 1.692 GB, free: 84.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/3.541, allocations: 294.5 kB / 1.692 GB, free: 84.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/3.541, allocations: 53.47 kB / 1.692 GB, free: 84.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/3.541, allocations: 3.25 kB / 1.692 GB, free: 84.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005354/3.547, allocations: 1.494 MB / 1.694 GB, free: 84.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/3.547, allocations: 4.781 kB / 1.694 GB, free: 84.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/3.548, allocations: 372.9 kB / 1.694 GB, free: 84.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/3.549, allocations: 266.9 kB / 1.694 GB, free: 84.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/3.55, allocations: 0.903 MB / 1.695 GB, free: 83.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/3.553, allocations: 252.3 kB / 1.695 GB, free: 83.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/3.553, allocations: 55.33 kB / 1.696 GB, free: 83.45 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: 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 () * Number of clocked 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.001047/3.554, allocations: 458.7 kB / 1.696 GB, free: 83.26 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/3.554, allocations: 156.3 kB / 1.696 GB, free: 83.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/3.559, allocations: 1.253 MB / 1.697 GB, free: 83.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/3.559, allocations: 13.94 kB / 1.697 GB, free: 83.09 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/3.559, allocations: 2.75 kB / 1.697 GB, free: 83.09 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003777/3.563, allocations: 1.133 MB / 1.698 GB, free: 82.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007977/3.571, allocations: 3.568 MB / 1.702 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/3.571, allocations: 3.844 kB / 1.702 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009012/3.572, allocations: 165.7 kB / 1.702 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/3.573, allocations: 370.6 kB / 1.702 GB, free: 81.82 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.96e-05/3.573, allocations: 26.45 kB / 1.702 GB, free: 81.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009622/3.574, allocations: 0.8945 MB / 1.703 GB, free: 81.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/3.574, allocations: 10.62 kB / 1.703 GB, free: 81.29 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/3.58, allocations: 2.025 MB / 1.705 GB, free: 80.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/3.581, allocations: 390 kB / 1.706 GB, free: 80.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/3.582, allocations: 25.12 kB / 1.706 GB, free: 80.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/3.584, allocations: 147 kB / 1.706 GB, free: 80.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/3.584, allocations: 72.09 kB / 1.706 GB, free: 80.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/3.584, allocations: 39.77 kB / 1.706 GB, free: 80.71 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001972/3.586, allocations: 0.9788 MB / 1.707 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.01e-07/3.586, allocations: 0 / 1.707 GB, free: 80.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003645/3.59, allocations: 0.9561 MB / 1.708 GB, free: 80.47 MB / 0.6667 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) * Number of clocked states: 0 () * 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.001954/3.592, allocations: 0.8425 MB / 1.709 GB, free: 80.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006079/3.598, allocations: 1.925 MB / 1.711 GB, free: 80.11 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/3.598, allocations: 3.781 kB / 1.711 GB, free: 80.11 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/3.6, allocations: 0.5516 MB / 1.711 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/3.605, allocations: 0.8072 MB / 1.712 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/3.611, allocations: 3.163 MB / 1.715 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008718/3.612, allocations: 1.215 MB / 1.716 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002287/3.615, allocations: 375.6 kB / 1.717 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/3.615, allocations: 135.1 kB / 1.717 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of SimCode: time 6.62e-07/3.615, allocations: 0 / 1.717 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of Templates: time 0.0603/3.675, allocations: 40.73 MB / 1.756 GB, free: 75.71 MB / 0.6667 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)