Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002389/0.002393, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.454/1.454, allocations: 165.8 MB / 182.5 MB, free: 5.562 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.044/4.044, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 201.9 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004689, allocations: 16 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3323, allocations: 67.44 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.7597/1.092, allocations: 268.3 MB / 1.07 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.07353/1.166, allocations: 39.21 MB / 1.108 GB, free: 10.45 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007293/1.173, allocations: 174.9 kB / 1.109 GB, free: 10.28 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.008256/1.181, allocations: 2.038 MB / 1.111 GB, free: 8.23 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.02529/1.207, allocations: 6.732 MB / 1.117 GB, free: 1.473 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.02224/1.229, allocations: 5.967 MB / 1.123 GB, free: 11.58 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.02783/1.257, allocations: 18.83 MB / 1.141 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/1.268, allocations: 5.327 MB / 1.147 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4377/1.706, allocations: 4.794 MB / 1.151 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009346/1.715, allocations: 4.506 MB / 1.156 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.002056/1.717, allocations: 269.3 kB / 1.156 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/1.729, allocations: 3.084 MB / 1.159 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.003364/1.732, allocations: 1.489 MB / 1.16 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.003839/1.736, allocations: 1.403 MB / 1.162 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01498/1.751, allocations: 9.412 MB / 1.171 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.543e-06/1.751, allocations: 0 / 1.171 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.723e-06/1.751, allocations: 0 / 1.171 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002786/1.751, allocations: 0 / 1.171 GB, free: 11.46 MB / 0.5886 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.01763/1.769, allocations: 6.891 MB / 1.178 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.769, allocations: 9.469 kB / 1.178 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/1.786, allocations: 2.252 MB / 1.18 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.018/1.804, allocations: 6.19 MB / 1.186 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/1.806, allocations: 0.5249 MB / 1.186 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/1.807, allocations: 480.2 kB / 1.187 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/1.826, allocations: 6.161 MB / 1.193 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/1.826, allocations: 14.64 kB / 1.193 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/1.827, allocations: 193.6 kB / 1.193 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/1.827, allocations: 185.1 kB / 1.193 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/1.848, allocations: 5.827 MB / 1.199 GB, free: 6.109 MB / 0.5886 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.05408/1.902, allocations: 24.96 MB / 1.223 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/1.915, allocations: 4.655 MB / 1.228 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006957/1.922, allocations: 2.089 MB / 1.23 GB, free: 8.184 MB / 0.6042 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.0308/1.953, allocations: 10.43 MB / 1.24 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007996/1.961, allocations: 2.341 MB / 1.242 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003833/1.965, allocations: 0.6387 MB / 1.243 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=302): time 1.584e-05/1.965, allocations: 0 / 1.243 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of matching and sorting (n=306): time 0.06692/2.032, allocations: 13.03 MB / 1.256 GB, free: 9.145 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/2.032, allocations: 368.5 kB / 1.256 GB, free: 8.703 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/2.043, allocations: 4.861 MB / 1.261 GB, free: 5.195 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0009387/2.044, allocations: 106.7 kB / 1.261 GB, free: 5.141 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.003658/2.048, allocations: 2.766 MB / 1.264 GB, free: 3.664 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/2.05, allocations: 1.035 MB / 1.265 GB, free: 2.781 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/2.05, allocations: 78.06 kB / 1.265 GB, free: 2.766 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0003778/2.051, allocations: 455.7 kB / 1.265 GB, free: 2.375 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007651/2.058, allocations: 1.954 MB / 1.267 GB, free: 1.012 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009187/2.068, allocations: 2.981 MB / 1.27 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008303/2.076, allocations: 2.242 MB / 1.272 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.71e-05/2.076, allocations: 4 kB / 1.272 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.03426/2.11, allocations: 6.922 MB / 1.279 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007466/2.111, allocations: 0.8051 MB / 1.28 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/2.111, allocations: 24 kB / 1.28 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/2.122, allocations: 1.734 MB / 1.281 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006183/2.129, allocations: 0.9496 MB / 1.282 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/2.141, allocations: 5.598 MB / 1.288 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009558/2.15, allocations: 0.5785 MB / 1.288 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/2.151, allocations: 207.4 kB / 1.289 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/2.151, allocations: 0.7812 kB / 1.289 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02345/2.175, allocations: 5.744 MB / 1.294 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.565e-05/2.175, allocations: 26.62 kB / 1.294 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/2.186, allocations: 1.773 MB / 1.296 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/2.192, allocations: 0.9256 MB / 1.297 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/2.203, allocations: 5.587 MB / 1.302 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007851/2.211, allocations: 0.5541 MB / 1.303 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/2.212, allocations: 198.9 kB / 1.303 GB, free: 1.867 MB / 0.6511 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.004765/2.217, allocations: 1.573 MB / 1.305 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001859/2.219, allocations: 0.5441 MB / 1.305 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/2.24, allocations: 5.437 MB / 1.31 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.744e-05/2.24, allocations: 35.98 kB / 1.311 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/2.24, allocations: 4 kB / 1.311 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01742/2.258, allocations: 4.276 MB / 1.315 GB, free: 9.293 MB / 0.6667 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.04023/2.298, allocations: 11.13 MB / 1.326 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-05/2.298, allocations: 0 / 1.326 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00524/2.303, allocations: 0.7211 MB / 1.326 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003958/2.307, allocations: 0.8099 MB / 1.327 GB, free: 104 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007176/2.308, allocations: 116.4 kB / 1.327 GB, free: 36 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/2.322, allocations: 11.11 MB / 1.338 GB, free: 4.98 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.351e-06/2.322, allocations: 8.156 kB / 1.338 GB, free: 4.973 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0432/2.365, allocations: 7.769 MB / 1.346 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004736/2.37, allocations: 1.141 MB / 1.347 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/2.372, allocations: 75.67 kB / 1.347 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007303/2.379, allocations: 0.4979 MB / 1.347 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009651/2.38, allocations: 263.7 kB / 1.348 GB, free: 13.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006284/2.381, allocations: 178 kB / 1.348 GB, free: 13.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007884/2.389, allocations: 3.261 MB / 1.351 GB, free: 11.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.163e-06/2.389, allocations: 0 / 1.351 GB, free: 11.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01442/2.403, allocations: 2.843 MB / 1.354 GB, free: 8.621 MB / 0.698 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.006258/2.41, allocations: 1.731 MB / 1.355 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.03053/2.44, allocations: 8.183 MB / 1.363 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/2.44, allocations: 7.438 kB / 1.363 GB, free: 1.332 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008934/2.449, allocations: 3.012 MB / 1.366 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01707/2.466, allocations: 2.774 MB / 1.369 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/2.5, allocations: 13.94 MB / 1.383 GB, free: 60 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006527/2.507, allocations: 3.583 MB / 1.386 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01178/2.519, allocations: 1.87 MB / 1.388 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002905/2.522, allocations: 0.496 MB / 1.388 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of SimCode: time 2.201e-06/2.522, allocations: 0 / 1.388 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.6276/3.149, allocations: 126 MB / 1.511 GB, free: 296.4 MB / 0.7449 GB