Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007948/0.0007948, allocations: 89.81 kB / 16.66 MB, free: 5.805 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.0009854/0.0009854, allocations: 177.1 kB / 17.58 MB, free: 5.477 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.408/1.408, allocations: 223.3 MB / 241.6 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8001/0.8001, allocations: 115.5 MB / 408.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4354, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1161/0.5515, allocations: 127.9 MB / 0.6855 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0391/0.5906, allocations: 24.9 MB / 0.7098 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006657/0.5973, allocations: 123.2 kB / 0.7099 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005843/0.6032, allocations: 1.41 MB / 0.7113 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.618, allocations: 4.168 MB / 0.7154 GB, free: 4.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009493/0.6276, allocations: 3.195 MB / 0.7185 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0153/0.6429, allocations: 11.37 MB / 0.7296 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004896/0.6478, allocations: 2.524 MB / 0.7321 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007231/0.6551, allocations: 2.753 MB / 0.7348 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005079/0.6602, allocations: 2.298 MB / 0.737 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.6615, allocations: 132 kB / 0.7371 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007686/0.6692, allocations: 2.476 MB / 0.7395 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.6709, allocations: 0.6221 MB / 0.7401 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004592/0.6755, allocations: 1.708 MB / 0.7418 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009027/0.6845, allocations: 4.832 MB / 0.7465 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.6846, allocations: 7.938 kB / 0.7465 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6846, allocations: 0 / 0.7465 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002125/0.6848, allocations: 0 / 0.7465 GB, free: 4.445 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00906/0.6939, allocations: 3.366 MB / 0.7498 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.694, allocations: 12.03 kB / 0.7498 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3671/1.061, allocations: 1.448 MB / 0.7513 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007952/1.069, allocations: 2.941 MB / 0.7541 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000467/1.07, allocations: 251.2 kB / 0.7544 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000931/1.071, allocations: 235.4 kB / 0.7546 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/1.082, allocations: 3.241 MB / 0.7578 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/1.082, allocations: 11.2 kB / 0.7578 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006158/1.083, allocations: 99.2 kB / 0.7579 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/1.083, allocations: 75.58 kB / 0.7579 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/1.094, allocations: 2.896 MB / 0.7608 GB, free: 163.1 MB / 0.5762 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.02576/1.12, allocations: 13.66 MB / 0.7741 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/1.125, allocations: 1.507 MB / 0.7756 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/1.128, allocations: 0.9457 MB / 0.7765 GB, free: 153 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/1.13, allocations: 1.779 MB / 0.7782 GB, free: 151 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00409/1.134, allocations: 1.219 MB / 0.7794 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=126): time 7.664e-06/1.134, allocations: 1.562 kB / 0.7794 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.06206/1.196, allocations: 11.93 MB / 0.7911 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/1.196, allocations: 0.5813 MB / 0.7916 GB, free: 142.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/1.2, allocations: 2.615 MB / 0.7942 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004105/1.201, allocations: 61.52 kB / 0.7943 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009093/1.202, allocations: 1.323 MB / 0.7955 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/1.202, allocations: 464.2 kB / 0.796 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.202, allocations: 149.2 kB / 0.7961 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/1.202, allocations: 309.1 kB / 0.7964 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/1.206, allocations: 1.01 MB / 0.7974 GB, free: 139 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/1.21, allocations: 1.604 MB / 0.799 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006812/1.217, allocations: 2.314 MB / 0.8012 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.217, allocations: 3.969 kB / 0.8012 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02339/1.24, allocations: 4.266 MB / 0.8054 GB, free: 133.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002389/1.241, allocations: 495.7 kB / 0.8059 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.241, allocations: 12 kB / 0.8059 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/1.244, allocations: 1.165 MB / 0.807 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/1.247, allocations: 475.2 kB / 0.8075 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003615/1.251, allocations: 2.39 MB / 0.8098 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005267/1.256, allocations: 411.9 kB / 0.8102 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003913/1.256, allocations: 111.8 kB / 0.8103 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.256, allocations: 8 kB / 0.8103 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02221/1.279, allocations: 3.975 MB / 0.8142 GB, free: 124 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/1.279, allocations: 12 kB / 0.8142 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003603/1.282, allocations: 1.165 MB / 0.8154 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/1.285, allocations: 463.2 kB / 0.8158 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/1.289, allocations: 2.386 MB / 0.8181 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004756/1.293, allocations: 372 kB / 0.8185 GB, free: 119.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000341/1.294, allocations: 107.9 kB / 0.8186 GB, free: 119.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001613/1.295, allocations: 0.7003 MB / 0.8193 GB, free: 118.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000717/1.296, allocations: 284.6 kB / 0.8195 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007658/1.304, allocations: 2.454 MB / 0.8219 GB, free: 116 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.304, allocations: 19.98 kB / 0.822 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.304, allocations: 4 kB / 0.822 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006457/1.31, allocations: 2.073 MB / 0.824 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.331, allocations: 7.091 MB / 0.8309 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.331, allocations: 8 kB / 0.8309 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.333, allocations: 287.9 kB / 0.8312 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00319/1.336, allocations: 1.029 MB / 0.8322 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/1.336, allocations: 51.94 kB / 0.8322 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/1.339, allocations: 2.159 MB / 0.8344 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.339, allocations: 10.5 kB / 0.8344 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/1.352, allocations: 3.843 MB / 0.8381 GB, free: 99.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.354, allocations: 0.6613 MB / 0.8388 GB, free: 98.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007661/1.355, allocations: 39.98 kB / 0.8388 GB, free: 98.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/1.358, allocations: 297.9 kB / 0.8391 GB, free: 98.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/1.359, allocations: 112.8 kB / 0.8392 GB, free: 97.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.359, allocations: 75.91 kB / 0.8393 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002841/1.362, allocations: 1.84 MB / 0.8411 GB, free: 96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/1.362, allocations: 0 / 0.8411 GB, free: 96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005087/1.367, allocations: 1.48 MB / 0.8425 GB, free: 94.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001734/1.369, allocations: 0.7958 MB / 0.8433 GB, free: 93.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.381, allocations: 3.821 MB / 0.847 GB, free: 90.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/1.381, allocations: 8.375 kB / 0.847 GB, free: 90.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.384, allocations: 1.056 MB / 0.8481 GB, free: 88.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/1.395, allocations: 1.557 MB / 0.8496 GB, free: 87.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/1.407, allocations: 6.179 MB / 0.8556 GB, free: 81.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009753/1.408, allocations: 1.709 MB / 0.8573 GB, free: 79.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.409, allocations: 283.2 kB / 0.8576 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/1.409, allocations: 0 / 0.8576 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.08956/1.498, allocations: 82.03 MB / 0.9377 GB, free: 13.32 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)