Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.473/2.473, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 185.6 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.436/2.436, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 94.34 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004672, allocations: 14.06 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 1.071/1.284, allocations: 246.7 MB / 1.14 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.08522/1.369, allocations: 37.37 MB / 1.176 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007927/1.377, allocations: 162.4 kB / 1.176 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.01041/1.388, allocations: 2.228 MB / 1.179 GB, free: 308 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0285/1.416, allocations: 6.436 MB / 1.185 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02641/1.443, allocations: 5.877 MB / 1.191 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02333/1.466, allocations: 9.903 MB / 1.2 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01256/1.478, allocations: 5.336 MB / 1.206 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01354/1.492, allocations: 4.355 MB / 1.21 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008947/1.501, allocations: 3.337 MB / 1.213 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.00189/1.503, allocations: 267.9 kB / 1.213 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/1.518, allocations: 3.308 MB / 1.217 GB, free: 124 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00388/1.522, allocations: 1.425 MB / 1.218 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0038/1.525, allocations: 1.408 MB / 1.219 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02067/1.546, allocations: 9.346 MB / 1.228 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.546, allocations: 0 / 1.228 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.725e-06/1.546, allocations: 0 / 1.228 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003845/1.547, allocations: 0 / 1.228 GB, free: 3.922 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.02502/1.572, allocations: 6.907 MB / 1.235 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.572, allocations: 8.031 kB / 1.235 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/1.598, allocations: 2.255 MB / 1.237 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/1.619, allocations: 5.794 MB / 1.243 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001858/1.621, allocations: 0.5192 MB / 1.244 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/1.623, allocations: 487.9 kB / 1.244 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/1.649, allocations: 6.07 MB / 1.25 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002351/1.649, allocations: 19.92 kB / 1.25 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/1.65, allocations: 193.9 kB / 1.25 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002894/1.651, allocations: 180.7 kB / 1.25 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/1.679, allocations: 5.807 MB / 1.256 GB, free: 7.262 MB / 0.7761 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.07838/1.757, allocations: 25.2 MB / 1.281 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/1.778, allocations: 4.674 MB / 1.285 GB, free: 8.211 MB / 0.8073 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.04253/1.821, allocations: 10.59 MB / 1.296 GB, free: 13.05 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01093/1.832, allocations: 2.291 MB / 1.298 GB, free: 10.71 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004891/1.837, allocations: 0.6682 MB / 1.298 GB, free: 10.04 MB / 0.823 GB Notification: Performance of pre-optimization done (n=302): time 1.299e-05/1.837, allocations: 0 / 1.298 GB, free: 10.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=306): time 0.123/1.96, allocations: 13.05 MB / 1.311 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002945/1.96, allocations: 364.5 kB / 1.312 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02118/1.981, allocations: 5.161 MB / 1.317 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001518/1.983, allocations: 105.7 kB / 1.317 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.007697/1.991, allocations: 2.779 MB / 1.319 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002717/1.993, allocations: 1.032 MB / 1.32 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008167/1.994, allocations: 76 kB / 1.32 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000463/1.995, allocations: 449.9 kB / 1.321 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01248/2.007, allocations: 1.912 MB / 1.323 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/2.019, allocations: 2.939 MB / 1.326 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/2.031, allocations: 2.193 MB / 1.328 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.179e-05/2.031, allocations: 8 kB / 1.328 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=474) (initialization): time 0.03931/2.07, allocations: 6.332 MB / 1.334 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004679/2.075, allocations: 11.3 MB / 1.345 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.285e-05/2.075, allocations: 24 kB / 1.345 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01693/2.092, allocations: 1.714 MB / 1.347 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009943/2.102, allocations: 0.9711 MB / 1.348 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/2.121, allocations: 5.619 MB / 1.353 GB, free: 8 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/2.134, allocations: 0.603 MB / 1.354 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/2.135, allocations: 203.8 kB / 1.354 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/2.135, allocations: 4 kB / 1.354 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03573/2.171, allocations: 5.703 MB / 1.359 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.309e-05/2.171, allocations: 28.92 kB / 1.359 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01659/2.188, allocations: 1.747 MB / 1.361 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008619/2.196, allocations: 0.9361 MB / 1.362 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/2.217, allocations: 5.618 MB / 1.368 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/2.228, allocations: 0.579 MB / 1.368 GB, free: 228 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/2.23, allocations: 191.9 kB / 1.368 GB, free: 36 kB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 28 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 429 * 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.008835/2.239, allocations: 1.581 MB / 1.37 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003763/2.242, allocations: 0.5441 MB / 1.37 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04334/2.286, allocations: 5.467 MB / 1.376 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/2.286, allocations: 35.98 kB / 1.376 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/2.286, allocations: 4 kB / 1.376 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03518/2.321, allocations: 4.28 MB / 1.38 GB, free: 3.984 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.06271/2.384, allocations: 11.34 MB / 1.391 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.205e-05/2.384, allocations: 4 kB / 1.391 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007971/2.392, allocations: 0.7101 MB / 1.392 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/2.398, allocations: 0.859 MB / 1.393 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008822/2.399, allocations: 115.9 kB / 1.393 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7033/3.102, allocations: 11.61 MB / 1.404 GB, free: 340.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.102, allocations: 4.094 kB / 1.404 GB, free: 340.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04623/3.148, allocations: 7.964 MB / 1.412 GB, free: 339.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004798/3.153, allocations: 1.215 MB / 1.413 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00223/3.156, allocations: 76.17 kB / 1.413 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01058/3.166, allocations: 0.5245 MB / 1.414 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/3.167, allocations: 269.8 kB / 1.414 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008757/3.168, allocations: 155.7 kB / 1.414 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01168/3.18, allocations: 3.508 MB / 1.417 GB, free: 339.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.11e-07/3.18, allocations: 0 / 1.417 GB, free: 339.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01708/3.197, allocations: 2.931 MB / 1.42 GB, free: 339.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,temRet.T,heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y,hysteresis.y,and1.y,and2.y,tesConHea.y,tesEvaPum.y) * Number of discrete states: 11 (timTab.nextTimeEvent,hysteresis.y,tesConHea.y,tesEvaPum.y,heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn,weaDat.conTimMin.tNext,weaDat.conTim.tNext,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {2 19,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006487/3.204, allocations: 1.844 MB / 1.422 GB, free: 339.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04034/3.244, allocations: 8.06 MB / 1.43 GB, free: 337.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/3.244, allocations: 7.812 kB / 1.43 GB, free: 337.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0115/3.256, allocations: 3.04 MB / 1.433 GB, free: 335.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02088/3.277, allocations: 2.733 MB / 1.436 GB, free: 335.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03689/3.314, allocations: 13.88 MB / 1.449 GB, free: 327.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005516/3.319, allocations: 3.621 MB / 1.453 GB, free: 326.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01257/3.332, allocations: 1.879 MB / 1.455 GB, free: 326.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003258/3.335, allocations: 0.5182 MB / 1.455 GB, free: 326.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.953e-06/3.335, allocations: 0 / 1.455 GB, free: 326.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.2897/3.625, allocations: 128.6 MB / 1.581 GB, free: 198.7 MB / 0.9167 GB