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.001313/0.001313, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001324/0.001324, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 290 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.9559/0.9559, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.001911, allocations: 99.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4206, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.6269/1.047, allocations: 295.2 MB / 1.055 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05265/1.1, allocations: 42.4 MB / 1.097 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009265/1.109, allocations: 213.9 kB / 1.097 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01032/1.12, allocations: 3.463 MB / 1.1 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01973/1.14, allocations: 7.39 MB / 1.108 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01405/1.154, allocations: 5.599 MB / 1.113 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.03073/1.184, allocations: 23.85 MB / 1.136 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01079/1.195, allocations: 7.499 MB / 1.144 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01581/1.211, allocations: 6.72 MB / 1.15 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/1.221, allocations: 5.326 MB / 1.155 GB, free: 11.18 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002904/1.224, allocations: 0.8047 MB / 1.156 GB, free: 10.37 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/1.238, allocations: 5.559 MB / 1.162 GB, free: 4.809 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003632/1.242, allocations: 2.43 MB / 1.164 GB, free: 2.371 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00711/1.249, allocations: 4.53 MB / 1.168 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.02253/1.272, allocations: 14.19 MB / 1.182 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.272, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.545e-06/1.272, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004459/1.272, allocations: 0 / 1.182 GB, free: 15.59 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.02085/1.293, allocations: 9.278 MB / 1.191 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.293, allocations: 12.02 kB / 1.191 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/1.31, allocations: 2.409 MB / 1.194 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/1.328, allocations: 8.462 MB / 1.202 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/1.328, allocations: 411.6 kB / 1.202 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/1.33, allocations: 495.9 kB / 1.203 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.343, allocations: 6.249 MB / 1.209 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.004e-05/1.343, allocations: 7.938 kB / 1.209 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005356/1.343, allocations: 204 kB / 1.209 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/1.344, allocations: 188.8 kB / 1.209 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/1.357, allocations: 5.831 MB / 1.215 GB, free: 13.57 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.04655/1.404, allocations: 25.88 MB / 1.24 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.414, allocations: 4.576 MB / 1.245 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004811/1.419, allocations: 2.045 MB / 1.247 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/1.44, allocations: 10.55 MB / 1.257 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005553/1.446, allocations: 2.322 MB / 1.259 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002097/1.448, allocations: 308.5 kB / 1.26 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=307): time 6.221e-06/1.448, allocations: 0 / 1.26 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=310): time 0.05249/1.5, allocations: 13.42 MB / 1.273 GB, free: 228 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.5, allocations: 380.5 kB / 1.273 GB, free: 15.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009828/1.51, allocations: 6.29 MB / 1.279 GB, free: 9.488 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0009326/1.511, allocations: 105.7 kB / 1.279 GB, free: 9.379 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002788/1.514, allocations: 3.101 MB / 1.282 GB, free: 6.254 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/1.515, allocations: 1.055 MB / 1.283 GB, free: 5.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/1.517, allocations: 1.042 MB / 1.284 GB, free: 4.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/1.517, allocations: 309.1 kB / 1.285 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006272/1.523, allocations: 2.356 MB / 1.287 GB, free: 1.449 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007022/1.53, allocations: 3.456 MB / 1.29 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/1.542, allocations: 5.297 MB / 1.296 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/1.542, allocations: 8 kB / 1.296 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=625) (initialization): time 0.02352/1.566, allocations: 7.404 MB / 1.303 GB, free: 448 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/1.566, allocations: 27.36 kB / 1.303 GB, free: 424 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/1.566, allocations: 24 kB / 1.303 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009778/1.576, allocations: 1.638 MB / 1.304 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/1.581, allocations: 1.037 MB / 1.305 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009233/1.591, allocations: 5.808 MB / 1.311 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/1.598, allocations: 431.5 kB / 1.312 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006675/1.599, allocations: 239.8 kB / 1.312 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008811/1.608, allocations: 3.816 MB / 1.315 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3623/1.97, allocations: 3.404 MB / 1.319 GB, free: 391.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01257/1.983, allocations: 5.188 MB / 1.324 GB, free: 390.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.585e-05/1.983, allocations: 7.562 kB / 1.324 GB, free: 390.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=625) (initialization_lambda0): time 0.02118/2.004, allocations: 7.29 MB / 1.331 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/2.004, allocations: 15.84 kB / 1.331 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/2.004, allocations: 31.16 kB / 1.331 GB, free: 388.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008711/2.013, allocations: 1.632 MB / 1.333 GB, free: 388.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/2.017, allocations: 1.019 MB / 1.334 GB, free: 388.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00759/2.025, allocations: 5.815 MB / 1.339 GB, free: 383.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007171/2.032, allocations: 463 kB / 1.34 GB, free: 383.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005919/2.033, allocations: 218 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.001088/2.034, allocations: 463.6 kB / 1.34 GB, free: 383.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/2.035, allocations: 0.631 MB / 1.341 GB, free: 383.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/2.05, allocations: 5.433 MB / 1.346 GB, free: 381.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01126/2.061, allocations: 4.239 MB / 1.35 GB, free: 379.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/2.061, allocations: 0 / 1.35 GB, free: 379.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/2.064, allocations: 1.225 MB / 1.352 GB, free: 379.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/2.065, allocations: 82.67 kB / 1.352 GB, free: 379.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004478/2.069, allocations: 358.2 kB / 1.352 GB, free: 379.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/2.07, allocations: 265.8 kB / 1.352 GB, free: 379.2 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01526/2.085, allocations: 5.193 MB / 1.357 GB, free: 377.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01504/2.1, allocations: 6.98 MB / 1.364 GB, free: 373.6 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004066/2.104, allocations: 1.982 MB / 1.366 GB, free: 371.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005589/2.11, allocations: 4.222 MB / 1.37 GB, free: 367.4 MB / 0.9512 GB Notification: Performance of Backend: time 6.21e-07/2.11, allocations: 0 / 1.37 GB, free: 367.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02488/2.135, allocations: 10.12 MB / 1.38 GB, free: 358.3 MB / 0.9512 GB Notification: Performance of SimCode: time 0.02333/2.158, allocations: 15.18 MB / 1.395 GB, free: 343.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.1953/2.354, allocations: 169.4 MB / 1.56 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)