Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001576/0.001576, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 70.14 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.324, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1161/0.4401, allocations: 130 MB / 1.194 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03805/0.4782, allocations: 25.23 MB / 1.219 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006417/0.4847, allocations: 127.2 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00532/0.4901, allocations: 1.422 MB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.5031, allocations: 4.141 MB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009095/0.5122, allocations: 3.198 MB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01258/0.5248, allocations: 11.37 MB / 1.239 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004028/0.5289, allocations: 2.607 MB / 1.241 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/0.5351, allocations: 2.843 MB / 1.244 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004477/0.5396, allocations: 2.427 MB / 1.247 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009589/0.5406, allocations: 172 kB / 1.247 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006772/0.5474, allocations: 2.511 MB / 1.249 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6621/1.21, allocations: 0.6824 MB / 1.25 GB, free: 53.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004838/1.214, allocations: 1.773 MB / 1.252 GB, free: 53.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01338/1.228, allocations: 6.162 MB / 1.258 GB, free: 52.89 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.228, allocations: 0 / 1.258 GB, free: 52.89 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.415e-06/1.228, allocations: 1.719 kB / 1.258 GB, free: 52.89 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001815/1.228, allocations: 0 / 1.258 GB, free: 52.89 MB / 0.9981 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.0101/1.238, allocations: 4.082 MB / 1.262 GB, free: 51.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.238, allocations: 9.938 kB / 1.262 GB, free: 51.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/1.251, allocations: 1.376 MB / 1.263 GB, free: 50.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/1.257, allocations: 2.934 MB / 1.266 GB, free: 50.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/1.257, allocations: 253.2 kB / 1.266 GB, free: 50.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004914/1.258, allocations: 238.7 kB / 1.266 GB, free: 50.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008984/1.267, allocations: 3.207 MB / 1.269 GB, free: 49.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.008e-05/1.267, allocations: 9.812 kB / 1.269 GB, free: 49.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/1.267, allocations: 101.9 kB / 1.27 GB, free: 49.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/1.267, allocations: 69.66 kB / 1.27 GB, free: 49.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/1.278, allocations: 2.834 MB / 1.272 GB, free: 49.68 MB / 0.9981 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.02387/1.301, allocations: 13.61 MB / 1.286 GB, free: 43.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/1.306, allocations: 1.472 MB / 1.287 GB, free: 43.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/1.309, allocations: 0.9123 MB / 1.288 GB, free: 43.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/1.311, allocations: 1.778 MB / 1.29 GB, free: 41.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003892/1.315, allocations: 1.189 MB / 1.291 GB, free: 41.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 3.587e-06/1.315, allocations: 1.125 kB / 1.291 GB, free: 41.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.0571/1.372, allocations: 11.66 MB / 1.302 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/1.372, allocations: 0.5805 MB / 1.303 GB, free: 36.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005043/1.377, allocations: 2.604 MB / 1.305 GB, free: 36.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000592/1.378, allocations: 62.84 kB / 1.305 GB, free: 36.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.379, allocations: 1.328 MB / 1.307 GB, free: 36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/1.38, allocations: 462.5 kB / 1.307 GB, free: 35.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000819/1.38, allocations: 467.1 kB / 1.308 GB, free: 35.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/1.38, allocations: 305.1 kB / 1.308 GB, free: 35.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/1.384, allocations: 0.9858 MB / 1.309 GB, free: 35.35 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004139/1.389, allocations: 1.576 MB / 1.31 GB, free: 34.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007312/1.396, allocations: 2.252 MB / 1.313 GB, free: 34.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.396, allocations: 3.812 kB / 1.313 GB, free: 34.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02418/1.42, allocations: 4.155 MB / 1.317 GB, free: 33.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/1.42, allocations: 42.73 kB / 1.317 GB, free: 33.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.42, allocations: 13.12 kB / 1.317 GB, free: 33.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/1.424, allocations: 1.167 MB / 1.318 GB, free: 33.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/1.427, allocations: 451.7 kB / 1.318 GB, free: 33.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/1.431, allocations: 2.379 MB / 1.321 GB, free: 32.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00589/1.437, allocations: 394.8 kB / 1.321 GB, free: 32.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/1.438, allocations: 103.9 kB / 1.321 GB, free: 32.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005377/1.443, allocations: 1.485 MB / 1.323 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004303/1.447, allocations: 1.556 MB / 1.324 GB, free: 31.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006971/1.454, allocations: 2.227 MB / 1.326 GB, free: 31.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.338e-05/1.454, allocations: 2.438 kB / 1.326 GB, free: 31.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02366/1.478, allocations: 4.124 MB / 1.33 GB, free: 30.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/1.478, allocations: 39.38 kB / 1.33 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.478, allocations: 9.969 kB / 1.33 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/1.482, allocations: 1.161 MB / 1.331 GB, free: 30.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.485, allocations: 452.6 kB / 1.332 GB, free: 30.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/1.488, allocations: 2.379 MB / 1.334 GB, free: 29.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005679/1.494, allocations: 395.2 kB / 1.335 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000386/1.495, allocations: 111.2 kB / 1.335 GB, free: 29.7 MB / 0.9981 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.0008057/1.495, allocations: 299.3 kB / 1.335 GB, free: 29.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.497, allocations: 283.4 kB / 1.335 GB, free: 29.36 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008498/1.505, allocations: 2.398 MB / 1.338 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.505, allocations: 17.64 kB / 1.338 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.505, allocations: 3.25 kB / 1.338 GB, free: 28.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006854/1.512, allocations: 2.008 MB / 1.34 GB, free: 28.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/1.534, allocations: 7.005 MB / 1.346 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.534, allocations: 7.812 kB / 1.346 GB, free: 24.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.536, allocations: 272.6 kB / 1.347 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003275/1.539, allocations: 1.013 MB / 1.348 GB, free: 23.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/1.539, allocations: 54.59 kB / 1.348 GB, free: 23.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/1.542, allocations: 2.143 MB / 1.35 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.542, allocations: 12.75 kB / 1.35 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/1.556, allocations: 3.744 MB / 1.353 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/1.558, allocations: 0.588 MB / 1.354 GB, free: 19.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.559, allocations: 43.64 kB / 1.354 GB, free: 19.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004005/1.563, allocations: 282 kB / 1.354 GB, free: 19.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.563, allocations: 113 kB / 1.354 GB, free: 19.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/1.563, allocations: 74.2 kB / 1.355 GB, free: 19.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003486/1.567, allocations: 1.835 MB / 1.356 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.567, allocations: 0 / 1.356 GB, free: 18.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006019/1.573, allocations: 1.474 MB / 1.358 GB, free: 18.18 MB / 0.9981 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.001779/1.575, allocations: 0.8024 MB / 1.359 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0118/1.587, allocations: 3.717 MB / 1.362 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.587, allocations: 4.438 kB / 1.362 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003838/1.59, allocations: 1.088 MB / 1.363 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007119/1.598, allocations: 1.493 MB / 1.365 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/1.609, allocations: 6.018 MB / 1.371 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.611, allocations: 1.724 MB / 1.372 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00416/1.615, allocations: 0.6607 MB / 1.373 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008073/1.616, allocations: 231.3 kB / 1.373 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.616, allocations: 0 / 1.373 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.114/1.73, allocations: 73.14 MB / 1.445 GB, free: 11.89 MB / 1.076 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)