Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.778/0.778, allocations: 140.1 MB / 156 MB, free: 5.152 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.001037/0.001037, allocations: 178.4 kB / 188.5 MB, free: 15.82 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.763/1.763, allocations: 205.4 MB / 426.3 MB, free: 8.379 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.0008945/0.0008945, allocations: 90.36 kB / 0.4945 GB, free: 8.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001733/0.001734, allocations: 273.5 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005293/0.0005294, allocations: 16 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4159, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7572/1.173, allocations: 393.6 MB / 1.124 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.174, allocations: 98.64 kB / 1.124 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.338/4.512, allocations: 1.029 GB / 2.153 GB, free: 32.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/4.512, allocations: 0 / 2.153 GB, free: 32.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004881/4.512, allocations: 83.92 kB / 2.153 GB, free: 32.6 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009867/4.522, allocations: 3.651 MB / 2.156 GB, free: 28.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/4.522, allocations: 19.95 kB / 2.156 GB, free: 28.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009313/4.531, allocations: 1.314 MB / 2.158 GB, free: 27.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007534/4.539, allocations: 3.305 MB / 2.161 GB, free: 24.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/4.539, allocations: 255.9 kB / 2.161 GB, free: 23.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007262/4.54, allocations: 239.9 kB / 2.161 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008257/4.548, allocations: 3.223 MB / 2.164 GB, free: 20.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/4.548, allocations: 11.75 kB / 2.164 GB, free: 20.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005155/4.549, allocations: 100 kB / 2.165 GB, free: 20.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/4.549, allocations: 64 kB / 2.165 GB, free: 20.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009097/4.558, allocations: 2.881 MB / 2.167 GB, free: 17.14 MB / 0.698 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.02258/4.581, allocations: 13.45 MB / 2.181 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/4.585, allocations: 1.572 MB / 2.182 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/4.588, allocations: 0.9237 MB / 2.183 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/4.589, allocations: 1.789 MB / 2.185 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003739/4.593, allocations: 1.262 MB / 2.186 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 5.46e-06/4.593, allocations: 0 / 2.186 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=124): time 0.4681/5.061, allocations: 16.35 MB / 2.202 GB, free: 72.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002439/5.062, allocations: 0.9393 MB / 2.203 GB, free: 71.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005315/5.067, allocations: 2.623 MB / 2.205 GB, free: 70.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004695/5.068, allocations: 58.7 kB / 2.205 GB, free: 70.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/5.069, allocations: 1.348 MB / 2.207 GB, free: 70.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/5.069, allocations: 431 kB / 2.207 GB, free: 70.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/5.069, allocations: 33.81 kB / 2.207 GB, free: 70.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001322/5.07, allocations: 366.5 kB / 2.208 GB, free: 70.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/5.073, allocations: 0.9822 MB / 2.209 GB, free: 70.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/5.077, allocations: 1.631 MB / 2.21 GB, free: 69.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006388/5.083, allocations: 2.244 MB / 2.212 GB, free: 68.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/5.083, allocations: 3.312 kB / 2.212 GB, free: 68.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009239/5.092, allocations: 3.137 MB / 2.215 GB, free: 68.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/5.093, allocations: 493.4 kB / 2.216 GB, free: 68.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/5.093, allocations: 11.5 kB / 2.216 GB, free: 68.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003328/5.096, allocations: 1.16 MB / 2.217 GB, free: 68.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/5.099, allocations: 447.7 kB / 2.217 GB, free: 68.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/5.102, allocations: 2.386 MB / 2.22 GB, free: 67.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/5.107, allocations: 423.1 kB / 2.22 GB, free: 67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/5.108, allocations: 110.8 kB / 2.22 GB, free: 67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/5.108, allocations: 4.344 kB / 2.22 GB, free: 67 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00827/5.116, allocations: 2.812 MB / 2.223 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/5.116, allocations: 17.11 kB / 2.223 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/5.119, allocations: 1.152 MB / 2.224 GB, free: 66.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/5.121, allocations: 437.4 kB / 2.225 GB, free: 66.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/5.125, allocations: 2.387 MB / 2.227 GB, free: 65.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/5.129, allocations: 373.1 kB / 2.227 GB, free: 65.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/5.129, allocations: 103.4 kB / 2.227 GB, free: 65.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.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 (150): * Single equations (assignments): 147 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001862/5.131, allocations: 0.7062 MB / 2.228 GB, free: 65.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008383/5.132, allocations: 283.8 kB / 2.228 GB, free: 65.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009018/5.141, allocations: 2.43 MB / 2.231 GB, free: 65.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/5.141, allocations: 19.12 kB / 2.231 GB, free: 65.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/5.141, allocations: 5.719 kB / 2.231 GB, free: 65.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007692/5.149, allocations: 2.193 MB / 2.233 GB, free: 65.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/5.171, allocations: 7.719 MB / 2.24 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/5.171, allocations: 3.719 kB / 2.24 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/5.172, allocations: 295 kB / 2.241 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/5.175, allocations: 1.01 MB / 2.242 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/5.176, allocations: 55.12 kB / 2.242 GB, free: 63.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/5.179, allocations: 2.149 MB / 2.244 GB, free: 62.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/5.179, allocations: 9.531 kB / 2.244 GB, free: 62.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/5.197, allocations: 4.309 MB / 2.248 GB, free: 61.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/5.199, allocations: 0.6521 MB / 2.249 GB, free: 61.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/5.2, allocations: 36.19 kB / 2.249 GB, free: 61.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/5.203, allocations: 296.3 kB / 2.249 GB, free: 61.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/5.203, allocations: 110.7 kB / 2.249 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/5.204, allocations: 77.8 kB / 2.249 GB, free: 61.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003141/5.207, allocations: 1.816 MB / 2.251 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.01e-07/5.207, allocations: 0 / 2.251 GB, free: 61.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006018/5.213, allocations: 1.578 MB / 2.252 GB, free: 61.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00275/5.216, allocations: 1.393 MB / 2.254 GB, free: 60.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01144/5.227, allocations: 3.692 MB / 2.257 GB, free: 60.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/5.227, allocations: 5 kB / 2.257 GB, free: 60.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003441/5.231, allocations: 1.099 MB / 2.259 GB, free: 60.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009856/5.24, allocations: 1.58 MB / 2.26 GB, free: 60.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/5.251, allocations: 5.825 MB / 2.266 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/5.252, allocations: 1.717 MB / 2.267 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003916/5.256, allocations: 0.6572 MB / 2.268 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007277/5.257, allocations: 246.9 kB / 2.268 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/5.257, allocations: 1.406 kB / 2.268 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.1162/5.373, allocations: 81.3 MB / 2.348 GB, free: 51.96 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)