Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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) 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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.714/1.714, allocations: 287.4 MB / 303.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 174 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008061/0.0008064, allocations: 97.41 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 15.06 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.6263/0.7976, allocations: 269.1 MB / 1.242 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05664/0.8543, allocations: 39.81 MB / 1.281 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007308/0.8617, allocations: 170.9 kB / 1.281 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.006707/0.8684, allocations: 1.793 MB / 1.283 GB, free: 9.648 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.01886/0.8873, allocations: 5.47 MB / 1.288 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01331/0.9006, allocations: 3.844 MB / 1.292 GB, free: 372 kB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02324/0.9239, allocations: 18.98 MB / 1.311 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01124/0.9351, allocations: 5.928 MB / 1.316 GB, free: 7.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.9461, allocations: 4.975 MB / 1.321 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008617/0.9547, allocations: 4.492 MB / 1.326 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002571/0.9573, allocations: 268 kB / 1.326 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01118/0.9685, allocations: 3.513 MB / 1.329 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003141/0.9717, allocations: 1.494 MB / 1.331 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.975, allocations: 1.4 MB / 1.332 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.9889, allocations: 9.562 MB / 1.341 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.989, allocations: 0 / 1.341 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.505e-06/0.989, allocations: 3.938 kB / 1.341 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003883/0.9894, allocations: 0 / 1.341 GB, free: 13.53 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.01644/1.006, allocations: 6.868 MB / 1.348 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.006, allocations: 11.97 kB / 1.348 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/1.02, allocations: 2.251 MB / 1.35 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/1.036, allocations: 6.386 MB / 1.357 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/1.037, allocations: 0.5231 MB / 1.357 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/1.039, allocations: 487.9 kB / 1.358 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/1.055, allocations: 6.164 MB / 1.364 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/1.055, allocations: 7.938 kB / 1.364 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000999/1.056, allocations: 188 kB / 1.364 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/1.057, allocations: 184.7 kB / 1.364 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/1.072, allocations: 5.83 MB / 1.37 GB, free: 204 kB / 0.8855 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.05102/1.123, allocations: 24.98 MB / 1.394 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/1.135, allocations: 4.664 MB / 1.399 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005466/1.14, allocations: 2.084 MB / 1.401 GB, free: 15.2 MB / 0.9323 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 evalFunc (simulation): time 0.0253/1.166, allocations: 10.44 MB / 1.411 GB, free: 4.188 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005988/1.172, allocations: 2.337 MB / 1.413 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003021/1.175, allocations: 0.6412 MB / 1.414 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=302): time 8.847e-06/1.175, allocations: 0 / 1.414 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=306): time 0.05001/1.225, allocations: 13.05 MB / 1.426 GB, free: 3.801 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/1.225, allocations: 376.5 kB / 1.427 GB, free: 3.352 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3725/1.597, allocations: 4.847 MB / 1.432 GB, free: 337 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008688/1.598, allocations: 109.8 kB / 1.432 GB, free: 337 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00265/1.601, allocations: 2.763 MB / 1.434 GB, free: 335.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.602, allocations: 1.033 MB / 1.435 GB, free: 335.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.603, allocations: 75.09 kB / 1.435 GB, free: 335.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002324/1.603, allocations: 458.9 kB / 1.436 GB, free: 335.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/1.609, allocations: 1.957 MB / 1.438 GB, free: 334.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006216/1.615, allocations: 2.983 MB / 1.441 GB, free: 332.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.626, allocations: 4.587 MB / 1.445 GB, free: 330.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/1.626, allocations: 7.625 kB / 1.445 GB, free: 330.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.0252/1.651, allocations: 6.921 MB / 1.452 GB, free: 328.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003901/1.651, allocations: 0.8049 MB / 1.453 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/1.652, allocations: 23.81 kB / 1.453 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008883/1.66, allocations: 1.74 MB / 1.454 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/1.665, allocations: 0.9519 MB / 1.455 GB, free: 327 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007967/1.673, allocations: 5.602 MB / 1.461 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006914/1.68, allocations: 0.5816 MB / 1.461 GB, free: 322.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006038/1.681, allocations: 204.5 kB / 1.462 GB, free: 322.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/1.681, allocations: 4.25 kB / 1.462 GB, free: 322.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01631/1.697, allocations: 5.744 MB / 1.467 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.235e-05/1.697, allocations: 26.94 kB / 1.467 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008643/1.706, allocations: 1.761 MB / 1.469 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/1.71, allocations: 0.9167 MB / 1.47 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007428/1.718, allocations: 5.594 MB / 1.475 GB, free: 315.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/1.724, allocations: 0.5546 MB / 1.476 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005098/1.724, allocations: 198.1 kB / 1.476 GB, free: 315.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$PRE.timTab.nextTimeEvent,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y,$PRE.hysteresis.y,hysteresis.y,and1.y,and2.y,$PRE.tesConHea.y,tesConHea.y,$PRE.tesEvaPum.y,tesEvaPum.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (445): * Single equations (assignments): 439 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 3 {2 19,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003072/1.728, allocations: 1.573 MB / 1.478 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.729, allocations: 0.5439 MB / 1.478 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.742, allocations: 5.434 MB / 1.483 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01057/1.753, allocations: 4.279 MB / 1.488 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.753, allocations: 0 / 1.488 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/1.756, allocations: 1.137 MB / 1.489 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007328/1.756, allocations: 77.81 kB / 1.489 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/1.76, allocations: 492.1 kB / 1.489 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/1.761, allocations: 262 kB / 1.489 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01451/1.775, allocations: 5.304 MB / 1.495 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01408/1.789, allocations: 6.959 MB / 1.501 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00393/1.793, allocations: 2.002 MB / 1.503 GB, free: 302.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004653/1.798, allocations: 3.261 MB / 1.507 GB, free: 299.1 MB / 0.948 GB Notification: Performance of Backend: time 4.61e-07/1.798, allocations: 0 / 1.507 GB, free: 299.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02336/1.821, allocations: 8.72 MB / 1.515 GB, free: 291.1 MB / 0.948 GB Notification: Performance of SimCode: time 0.02438/1.846, allocations: 15.27 MB / 1.53 GB, free: 275.8 MB / 0.948 GB Notification: Performance of Templates: time 0.1872/2.033, allocations: 145.3 MB / 1.672 GB, free: 131.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)