Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.627/4.627, allocations: 0.5623 GB / 0.5769 GB, free: 3.281 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002402/0.002402, allocations: 363 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.953/3.953, allocations: 410.7 MB / 1.112 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001745/0.001745, allocations: 184.3 kB / 1.225 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 12 kB / 1.348 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.587, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.2822/0.8693, allocations: 268.3 MB / 1.723 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.695/1.564, allocations: 39.22 MB / 1.761 GB, free: 27.47 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/1.577, allocations: 168.2 kB / 1.761 GB, free: 27.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.008031/1.585, allocations: 2.039 MB / 1.763 GB, free: 27.46 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.02187/1.607, allocations: 6.72 MB / 1.77 GB, free: 27.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01998/1.627, allocations: 5.963 MB / 1.776 GB, free: 27.27 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02331/1.65, allocations: 18.83 MB / 1.794 GB, free: 27.24 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009166/1.66, allocations: 5.329 MB / 1.799 GB, free: 26.56 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01061/1.67, allocations: 4.803 MB / 1.804 GB, free: 26.54 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009299/1.679, allocations: 4.503 MB / 1.808 GB, free: 26.53 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001688/1.681, allocations: 268.8 kB / 1.809 GB, free: 26.53 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/1.693, allocations: 3.08 MB / 1.812 GB, free: 26.53 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.002964/1.696, allocations: 1.491 MB / 1.813 GB, free: 26.53 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002889/1.699, allocations: 1.409 MB / 1.814 GB, free: 26.49 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/1.712, allocations: 9.402 MB / 1.824 GB, free: 22.35 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.276e-06/1.712, allocations: 2.906 kB / 1.824 GB, free: 22.35 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.688e-06/1.712, allocations: 0 / 1.824 GB, free: 22.35 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001667/1.713, allocations: 0 / 1.824 GB, free: 22.35 MB / 0.8542 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.01455/1.727, allocations: 6.881 MB / 1.83 GB, free: 18.31 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.727, allocations: 12.38 kB / 1.83 GB, free: 18.31 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/1.744, allocations: 2.256 MB / 1.833 GB, free: 17.38 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/1.76, allocations: 6.196 MB / 1.839 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009839/1.761, allocations: 0.5197 MB / 1.839 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/1.762, allocations: 485.5 kB / 1.84 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/1.777, allocations: 6.164 MB / 1.846 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/1.778, allocations: 7.656 kB / 1.846 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006296/1.778, allocations: 195.6 kB / 1.846 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/1.778, allocations: 185.6 kB / 1.846 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/1.795, allocations: 5.83 MB / 1.852 GB, free: 11.95 MB / 0.8542 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.0488/1.844, allocations: 24.96 MB / 1.876 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/1.858, allocations: 4.666 MB / 1.881 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006604/1.864, allocations: 2.089 MB / 1.883 GB, free: 5.258 MB / 0.8698 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.02817/1.892, allocations: 10.44 MB / 1.893 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007117/1.9, allocations: 2.343 MB / 1.895 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003189/1.903, allocations: 0.6429 MB / 1.896 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=302): time 7.86e-06/1.903, allocations: 0 / 1.896 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=306): time 0.05763/1.96, allocations: 13.03 MB / 1.908 GB, free: 356 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000266/1.961, allocations: 374.7 kB / 1.909 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009644/1.97, allocations: 4.86 MB / 1.914 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008571/1.971, allocations: 105.2 kB / 1.914 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003085/1.974, allocations: 2.766 MB / 1.916 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.976, allocations: 1.041 MB / 1.917 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/1.976, allocations: 74.44 kB / 1.917 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003366/1.977, allocations: 452.4 kB / 1.918 GB, free: 9.574 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006946/1.984, allocations: 1.956 MB / 1.92 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007956/1.992, allocations: 2.988 MB / 1.923 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/1.999, allocations: 2.233 MB / 1.925 GB, free: 4.062 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/1.999, allocations: 8 kB / 1.925 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.03186/2.031, allocations: 6.923 MB / 1.932 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007611/2.032, allocations: 0.8056 MB / 1.932 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/2.032, allocations: 24 kB / 1.932 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/2.043, allocations: 1.742 MB / 1.934 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/2.049, allocations: 0.9484 MB / 1.935 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/2.06, allocations: 5.59 MB / 1.941 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/2.068, allocations: 0.5752 MB / 1.941 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009114/2.069, allocations: 202.9 kB / 1.941 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/2.069, allocations: 9.406 kB / 1.941 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02108/2.09, allocations: 5.738 MB / 1.947 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.86e-05/2.091, allocations: 24.19 kB / 1.947 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/2.102, allocations: 1.769 MB / 1.949 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005581/2.107, allocations: 0.9176 MB / 1.95 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/2.118, allocations: 5.597 MB / 1.955 GB, free: 9.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007607/2.126, allocations: 0.5629 MB / 1.956 GB, free: 9.234 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/2.127, allocations: 196.4 kB / 1.956 GB, free: 9.074 MB / 0.9323 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.0042/2.131, allocations: 1.575 MB / 1.957 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/2.133, allocations: 0.5441 MB / 1.958 GB, free: 7.594 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/2.152, allocations: 5.44 MB / 1.963 GB, free: 3.684 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/2.152, allocations: 32 kB / 1.963 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/2.152, allocations: 4 kB / 1.963 GB, free: 3.648 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01614/2.169, allocations: 4.278 MB / 1.967 GB, free: 0.5 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 postOpt removeSimpleEquations (simulation): time 0.03578/2.204, allocations: 11.13 MB / 1.978 GB, free: 8.664 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.678e-05/2.205, allocations: 8 kB / 1.978 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005144/2.21, allocations: 0.7177 MB / 1.979 GB, free: 7.988 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003897/2.214, allocations: 0.8144 MB / 1.98 GB, free: 7.301 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006756/2.214, allocations: 107.8 kB / 1.98 GB, free: 7.242 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/2.228, allocations: 11.09 MB / 1.991 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-06/2.228, allocations: 10.75 kB / 1.991 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03025/2.259, allocations: 7.775 MB / 1.998 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004056/2.263, allocations: 1.146 MB / 1.999 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/2.264, allocations: 72 kB / 1.999 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006273/2.27, allocations: 0.5074 MB / 2 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006999/2.271, allocations: 268.6 kB / 2 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005187/2.271, allocations: 155.8 kB / 2 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.007021/2.278, allocations: 3.265 MB / 2.004 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.45e-07/2.279, allocations: 1.859 kB / 2.004 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01244/2.291, allocations: 2.839 MB / 2.006 GB, free: 14.13 MB / 0.9792 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 (311): * Single equations (assignments): 288 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {2 19,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005629/2.297, allocations: 1.724 MB / 2.008 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02949/2.326, allocations: 8.202 MB / 2.016 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/2.326, allocations: 8.953 kB / 2.016 GB, free: 4.852 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.008408/2.335, allocations: 3.012 MB / 2.019 GB, free: 1.746 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01535/2.35, allocations: 2.78 MB / 2.022 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/2.381, allocations: 13.91 MB / 2.035 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005105/2.387, allocations: 3.59 MB / 2.039 GB, free: 13.47 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0108/2.397, allocations: 1.868 MB / 2.041 GB, free: 11.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/2.4, allocations: 0.4991 MB / 2.041 GB, free: 11.13 MB / 1.01 GB Notification: Performance of SimCode: time 1.597e-06/2.4, allocations: 0 / 2.041 GB, free: 11.13 MB / 1.01 GB Notification: Performance of Templates: time 0.8196/3.22, allocations: 126 MB / 2.164 GB, free: 443.7 MB / 1.089 GB