Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 108.4 kB / 16.41 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001552, allocations: 190.7 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 295.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9443/0.9443, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 91.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4159, allocations: 86.98 MB / 0.7671 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.7216/1.138, allocations: 295.2 MB / 1.055 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05492/1.193, allocations: 42.41 MB / 1.097 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00835/1.201, allocations: 211.4 kB / 1.097 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.009372/1.21, allocations: 3.521 MB / 1.1 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02129/1.232, allocations: 7.691 MB / 1.108 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01372/1.245, allocations: 5.615 MB / 1.113 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02993/1.275, allocations: 23.89 MB / 1.137 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01081/1.286, allocations: 7.499 MB / 1.144 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/1.3, allocations: 6.727 MB / 1.151 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009501/1.31, allocations: 5.346 MB / 1.156 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002556/1.312, allocations: 0.8008 MB / 1.157 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/1.325, allocations: 5.554 MB / 1.162 GB, free: 4.234 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003358/1.329, allocations: 2.438 MB / 1.164 GB, free: 1.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007842/1.337, allocations: 4.522 MB / 1.169 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02187/1.359, allocations: 14.18 MB / 1.183 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.359, allocations: 0 / 1.183 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/1.359, allocations: 0 / 1.183 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003551/1.359, allocations: 0 / 1.183 GB, free: 15.02 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1194 * Number of variables: 1194 Notification: Performance of Generate backend data structure: time 0.0215/1.38, allocations: 9.288 MB / 1.192 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.38, allocations: 12.02 kB / 1.192 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/1.397, allocations: 2.406 MB / 1.194 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/1.415, allocations: 8.458 MB / 1.202 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/1.415, allocations: 415.6 kB / 1.203 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/1.417, allocations: 495.8 kB / 1.203 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/1.431, allocations: 6.245 MB / 1.209 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.712e-05/1.431, allocations: 11.88 kB / 1.209 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005515/1.431, allocations: 200 kB / 1.21 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/1.431, allocations: 188.8 kB / 1.21 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/1.445, allocations: 5.831 MB / 1.215 GB, free: 13 MB / 0.8575 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.04245/1.487, allocations: 25.88 MB / 1.241 GB, free: 1.887 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.497, allocations: 4.572 MB / 1.245 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004746/1.502, allocations: 2.037 MB / 1.247 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02165/1.524, allocations: 10.56 MB / 1.257 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00556/1.529, allocations: 2.322 MB / 1.26 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00194/1.531, allocations: 312.5 kB / 1.26 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=307): time 5.23e-06/1.531, allocations: 0 / 1.26 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=310): time 0.04998/1.581, allocations: 13.42 MB / 1.273 GB, free: 15.65 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/1.582, allocations: 372.5 kB / 1.273 GB, free: 15.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00992/1.591, allocations: 6.29 MB / 1.28 GB, free: 8.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004445/1.592, allocations: 109.7 kB / 1.28 GB, free: 8.809 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002913/1.595, allocations: 3.101 MB / 1.283 GB, free: 5.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.596, allocations: 1.055 MB / 1.284 GB, free: 4.613 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/1.598, allocations: 1.042 MB / 1.285 GB, free: 3.559 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.598, allocations: 305.1 kB / 1.285 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006042/1.604, allocations: 2.364 MB / 1.287 GB, free: 0.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/1.611, allocations: 3.46 MB / 1.291 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.623, allocations: 5.289 MB / 1.296 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/1.623, allocations: 8 kB / 1.296 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=625) (initialization): time 0.02196/1.645, allocations: 7.411 MB / 1.303 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/1.645, allocations: 22.8 kB / 1.303 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/1.645, allocations: 24 kB / 1.303 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009487/1.654, allocations: 1.645 MB / 1.305 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005219/1.659, allocations: 1.033 MB / 1.306 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/1.669, allocations: 5.797 MB / 1.312 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007246/1.676, allocations: 435.5 kB / 1.312 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008583/1.677, allocations: 231.8 kB / 1.312 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009727/1.687, allocations: 3.82 MB / 1.316 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3639/2.051, allocations: 3.406 MB / 1.319 GB, free: 391.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01203/2.063, allocations: 5.186 MB / 1.324 GB, free: 390.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.231e-05/2.063, allocations: 6.75 kB / 1.324 GB, free: 390.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=625) (initialization_lambda0): time 0.02016/2.083, allocations: 7.292 MB / 1.331 GB, free: 388.6 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/2.083, allocations: 15.78 kB / 1.331 GB, free: 388.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/2.083, allocations: 27.59 kB / 1.331 GB, free: 388.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008459/2.091, allocations: 1.648 MB / 1.333 GB, free: 388.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/2.095, allocations: 1.018 MB / 1.334 GB, free: 388.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007341/2.103, allocations: 5.81 MB / 1.34 GB, free: 383.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006402/2.109, allocations: 466.1 kB / 1.34 GB, free: 383.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/2.11, allocations: 221.3 kB / 1.34 GB, free: 383.5 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.timTab.nextTimeEvent,$whenCondition6,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,tesEvaPum.y,$PRE.tesEvaPum.y,tesConHea.y,$PRE.tesConHea.y,and2.y,and1.y,hysteresis.y,$PRE.hysteresis.y,heaPum.temPro.hysdTConEva.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.on.y,heaPum.temPro.hysLow.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysHig.y,heaPum.com.isOn,$PRE.heaPum.com.isOn,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (522): * Single equations (assignments): 514 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,19), (3,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001022/2.111, allocations: 455.2 kB / 1.341 GB, free: 383.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/2.112, allocations: 0.636 MB / 1.341 GB, free: 383.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/2.126, allocations: 5.44 MB / 1.347 GB, free: 381.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01135/2.137, allocations: 4.231 MB / 1.351 GB, free: 379.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/2.137, allocations: 0 / 1.351 GB, free: 379.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/2.14, allocations: 1.237 MB / 1.352 GB, free: 379.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/2.141, allocations: 77.86 kB / 1.352 GB, free: 379.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004395/2.146, allocations: 353.9 kB / 1.352 GB, free: 379.3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004303/2.146, allocations: 268.6 kB / 1.353 GB, free: 379.2 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01542/2.162, allocations: 5.188 MB / 1.358 GB, free: 377.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01497/2.177, allocations: 6.974 MB / 1.365 GB, free: 373.5 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004014/2.181, allocations: 1.982 MB / 1.367 GB, free: 371.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005415/2.186, allocations: 4.222 MB / 1.371 GB, free: 367.4 MB / 0.9512 GB Notification: Performance of Backend: time 3.61e-07/2.186, allocations: 0 / 1.371 GB, free: 367.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02431/2.211, allocations: 10.12 MB / 1.381 GB, free: 358.3 MB / 0.9512 GB Notification: Performance of SimCode: time 0.02315/2.234, allocations: 15.18 MB / 1.395 GB, free: 343.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.2041/2.438, allocations: 169.5 MB / 1.561 GB, free: 175.2 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)