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 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.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.825/0.825, 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.001313/0.001313, allocations: 168.9 kB / 182.2 MB, free: 9.465 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.636/1.636, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008933/0.0008933, allocations: 76.12 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 277.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.238e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.503, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9447/1.448, allocations: 395.5 MB / 1.144 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.448, allocations: 94.2 kB / 1.144 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.894/5.342, allocations: 1.057 GB / 2.201 GB, free: 48.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/5.342, allocations: 3.938 kB / 2.201 GB, free: 48.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002992/5.342, allocations: 79.97 kB / 2.201 GB, free: 48.67 MB / 0.7136 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.007202/5.349, allocations: 3.178 MB / 2.204 GB, free: 45.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/5.349, allocations: 8.031 kB / 2.204 GB, free: 45.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009263/5.359, allocations: 1.319 MB / 2.205 GB, free: 44.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006407/5.365, allocations: 3.281 MB / 2.208 GB, free: 40.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/5.365, allocations: 171.9 kB / 2.208 GB, free: 40.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004782/5.366, allocations: 140 kB / 2.209 GB, free: 40.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003802/5.37, allocations: 2.012 MB / 2.211 GB, free: 38.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/5.373, allocations: 2.5 MB / 2.213 GB, free: 35.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/5.374, allocations: 11.88 kB / 2.213 GB, free: 35.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/5.374, allocations: 8 kB / 2.213 GB, free: 35.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/5.374, allocations: 75.92 kB / 2.213 GB, free: 35.59 MB / 0.7136 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.01703/5.391, allocations: 12.97 MB / 2.226 GB, free: 22.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/5.392, allocations: 1.187 MB / 2.227 GB, free: 20.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/5.393, allocations: 0.597 MB / 2.228 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/5.395, allocations: 1.782 MB / 2.229 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/5.396, allocations: 0.9399 MB / 2.23 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 4.208e-06/5.396, allocations: 6.016 kB / 2.23 GB, free: 17.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.02957/5.425, allocations: 10.54 MB / 2.24 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002361/5.426, allocations: 0.9322 MB / 2.241 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/5.43, allocations: 1.832 MB / 2.243 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005255/5.431, allocations: 33.8 kB / 2.243 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001783/5.432, allocations: 1.384 MB / 2.245 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007183/5.433, allocations: 410 kB / 2.245 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/5.433, allocations: 3.938 kB / 2.245 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000143/5.434, allocations: 365.9 kB / 2.245 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/5.435, allocations: 0.6014 MB / 2.246 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/5.438, allocations: 1.224 MB / 2.247 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/5.445, allocations: 0.961 MB / 2.248 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/5.445, allocations: 4 kB / 2.248 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01243/5.457, allocations: 2.4 MB / 2.25 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002664/5.46, allocations: 5.124 MB / 2.255 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/5.46, allocations: 16 kB / 2.255 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003914/5.464, allocations: 0.8948 MB / 2.256 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004981/5.469, allocations: 455.2 kB / 2.257 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/5.475, allocations: 2.319 MB / 2.259 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00929/5.485, allocations: 371.2 kB / 2.259 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006468/5.485, allocations: 110.1 kB / 2.259 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/5.486, allocations: 8.25 kB / 2.259 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6612/6.147, allocations: 2.115 MB / 2.261 GB, free: 74.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.561e-05/6.147, allocations: 12.22 kB / 2.261 GB, free: 74.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/6.15, allocations: 0.8901 MB / 2.262 GB, free: 74.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/6.154, allocations: 431.6 kB / 2.263 GB, free: 74.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/6.159, allocations: 2.321 MB / 2.265 GB, free: 73.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006563/6.165, allocations: 318 kB / 2.265 GB, free: 73.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005996/6.166, allocations: 108.8 kB / 2.265 GB, free: 73.12 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * 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 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007873/6.167, allocations: 157.5 kB / 2.266 GB, free: 73.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009548/6.168, allocations: 247.4 kB / 2.266 GB, free: 73.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009867/6.178, allocations: 1.882 MB / 2.268 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.378e-05/6.178, allocations: 17.5 kB / 2.268 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/6.178, allocations: 3.219 kB / 2.268 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008122/6.186, allocations: 1.712 MB / 2.269 GB, free: 72.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/6.203, allocations: 6.26 MB / 2.275 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/6.203, allocations: 6.156 kB / 2.275 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/6.205, allocations: 274.7 kB / 2.276 GB, free: 70.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/6.207, allocations: 0.7653 MB / 2.276 GB, free: 70.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/6.207, allocations: 44.25 kB / 2.277 GB, free: 70.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003588/6.211, allocations: 2.074 MB / 2.279 GB, free: 69.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.491e-05/6.211, allocations: 11.19 kB / 2.279 GB, free: 69.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/6.223, allocations: 3.424 MB / 2.282 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/6.225, allocations: 0.6113 MB / 2.283 GB, free: 68.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/6.226, allocations: 13.75 kB / 2.283 GB, free: 68.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005302/6.231, allocations: 257 kB / 2.283 GB, free: 68.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/6.232, allocations: 109.9 kB / 2.283 GB, free: 68.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003614/6.232, allocations: 72.12 kB / 2.283 GB, free: 68.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004188/6.236, allocations: 1.371 MB / 2.284 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/6.236, allocations: 2.953 kB / 2.284 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01018/6.247, allocations: 1.563 MB / 2.286 GB, free: 68.36 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * 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.004183/6.251, allocations: 1.508 MB / 2.287 GB, free: 68.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008449/6.259, allocations: 2.687 MB / 2.29 GB, free: 67.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-05/6.259, allocations: 4.594 kB / 2.29 GB, free: 67.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/6.262, allocations: 0.7679 MB / 2.291 GB, free: 67.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009664/6.271, allocations: 1.091 MB / 2.292 GB, free: 67.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/6.284, allocations: 3.525 MB / 2.295 GB, free: 66.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/6.287, allocations: 1.769 MB / 2.297 GB, free: 66.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00497/6.292, allocations: 0.7115 MB / 2.298 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/6.292, allocations: 168.9 kB / 2.298 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of SimCode: time 8.52e-07/6.292, allocations: 0 / 2.298 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.08702/6.379, allocations: 67.07 MB / 2.363 GB, free: 62.21 MB / 0.7292 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)