Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009163, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006203/0.006203, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 473.4 MB / 0.7469 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 14.16 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1226/0.4365, allocations: 127.9 MB / 1.199 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03609/0.4727, allocations: 25.02 MB / 1.223 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005291/0.478, allocations: 119.2 kB / 1.224 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004694/0.4827, allocations: 1.414 MB / 1.225 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01241/0.4952, allocations: 4.204 MB / 1.229 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008767/0.5039, allocations: 3.202 MB / 1.232 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01455/0.5185, allocations: 11.43 MB / 1.243 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004569/0.5231, allocations: 2.542 MB / 1.246 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007093/0.5302, allocations: 2.769 MB / 1.249 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004536/0.5348, allocations: 2.317 MB / 1.251 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.536, allocations: 132 kB / 1.251 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6642/1.2, allocations: 2.462 MB / 1.253 GB, free: 52.35 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002525/1.203, allocations: 0.6225 MB / 1.254 GB, free: 52.35 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006337/1.209, allocations: 1.725 MB / 1.256 GB, free: 52.32 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01455/1.224, allocations: 6.049 MB / 1.262 GB, free: 52.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.224, allocations: 0.8125 kB / 1.262 GB, free: 52.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/1.224, allocations: 2.625 kB / 1.262 GB, free: 52.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000223/1.224, allocations: 1.469 kB / 1.262 GB, free: 52.17 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009507/1.233, allocations: 3.379 MB / 1.265 GB, free: 50.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.234, allocations: 11.5 kB / 1.265 GB, free: 50.49 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/1.244, allocations: 1.366 MB / 1.266 GB, free: 50.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00695/1.251, allocations: 2.935 MB / 1.269 GB, free: 49.69 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/1.251, allocations: 255.7 kB / 1.269 GB, free: 49.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007122/1.252, allocations: 239 kB / 1.27 GB, free: 49.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009683/1.262, allocations: 3.212 MB / 1.273 GB, free: 49.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.374e-05/1.262, allocations: 9.812 kB / 1.273 GB, free: 49.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004839/1.262, allocations: 100.1 kB / 1.273 GB, free: 49.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/1.263, allocations: 73.53 kB / 1.273 GB, free: 49.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/1.273, allocations: 2.832 MB / 1.276 GB, free: 49.04 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.02097/1.294, allocations: 13.61 MB / 1.289 GB, free: 42.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/1.298, allocations: 1.442 MB / 1.29 GB, free: 42.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/1.301, allocations: 0.8894 MB / 1.291 GB, free: 42.74 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.303, allocations: 1.78 MB / 1.293 GB, free: 40.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003475/1.306, allocations: 1.168 MB / 1.294 GB, free: 40.56 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 3.527e-06/1.306, allocations: 1.406 kB / 1.294 GB, free: 40.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.03387/1.34, allocations: 9.818 MB / 1.304 GB, free: 36.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.34, allocations: 0.5797 MB / 1.304 GB, free: 36.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/1.344, allocations: 2.616 MB / 1.307 GB, free: 35.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003539/1.345, allocations: 60.95 kB / 1.307 GB, free: 35.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009603/1.346, allocations: 1.349 MB / 1.308 GB, free: 35.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/1.346, allocations: 461.8 kB / 1.309 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/1.347, allocations: 151.7 kB / 1.309 GB, free: 35.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.51e-05/1.347, allocations: 301.1 kB / 1.309 GB, free: 34.81 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.35, allocations: 0.9637 MB / 1.31 GB, free: 34.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/1.354, allocations: 1.556 MB / 1.311 GB, free: 34.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006484/1.36, allocations: 2.233 MB / 1.314 GB, free: 33.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/1.36, allocations: 3.844 kB / 1.314 GB, free: 33.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01138/1.372, allocations: 3.184 MB / 1.317 GB, free: 33.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.372, allocations: 487.7 kB / 1.317 GB, free: 32.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.372, allocations: 21.28 kB / 1.317 GB, free: 32.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/1.375, allocations: 0.9236 MB / 1.318 GB, free: 32.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.377, allocations: 479.6 kB / 1.319 GB, free: 32.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/1.38, allocations: 2.218 MB / 1.321 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.384, allocations: 386.1 kB / 1.321 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/1.385, allocations: 110.3 kB / 1.321 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.385, allocations: 4.812 kB / 1.321 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01/1.395, allocations: 2.888 MB / 1.324 GB, free: 31.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.395, allocations: 12.34 kB / 1.324 GB, free: 31.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/1.398, allocations: 0.9193 MB / 1.325 GB, free: 31.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.4, allocations: 473.8 kB / 1.325 GB, free: 31.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/1.403, allocations: 2.208 MB / 1.328 GB, free: 30.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/1.407, allocations: 363.9 kB / 1.328 GB, free: 30.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/1.407, allocations: 105.8 kB / 1.328 GB, free: 30.25 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 (170): * Single equations (assignments): 167 * 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,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.001582/1.409, allocations: 0.7035 MB / 1.329 GB, free: 30.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005986/1.41, allocations: 285.4 kB / 1.329 GB, free: 29.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00705/1.417, allocations: 2.305 MB / 1.331 GB, free: 29.74 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/1.417, allocations: 16.66 kB / 1.331 GB, free: 29.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.417, allocations: 3.938 kB / 1.331 GB, free: 29.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005845/1.423, allocations: 1.931 MB / 1.333 GB, free: 29.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.436, allocations: 6.28 MB / 1.339 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.436, allocations: 6.812 kB / 1.339 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.438, allocations: 298.4 kB / 1.34 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/1.441, allocations: 0.7995 MB / 1.34 GB, free: 27.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.441, allocations: 48.5 kB / 1.34 GB, free: 27.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/1.443, allocations: 1.97 MB / 1.342 GB, free: 26.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.443, allocations: 9.281 kB / 1.342 GB, free: 26.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.455, allocations: 3.559 MB / 1.346 GB, free: 25.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.457, allocations: 0.65 MB / 1.346 GB, free: 24.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006629/1.458, allocations: 39.73 kB / 1.346 GB, free: 24.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/1.461, allocations: 282.6 kB / 1.347 GB, free: 24.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/1.461, allocations: 114.6 kB / 1.347 GB, free: 24.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.462, allocations: 72.89 kB / 1.347 GB, free: 24.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003089/1.465, allocations: 1.846 MB / 1.349 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.465, allocations: 0 / 1.349 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004842/1.47, allocations: 1.484 MB / 1.35 GB, free: 24.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 (86): * Single equations (assignments): 80 * 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,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/1.471, allocations: 0.8052 MB / 1.351 GB, free: 23.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.483, allocations: 3.689 MB / 1.355 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/1.483, allocations: 4.969 kB / 1.355 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003595/1.487, allocations: 1.066 MB / 1.356 GB, free: 21.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/1.498, allocations: 1.586 MB / 1.357 GB, free: 21.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.511, allocations: 6.315 MB / 1.363 GB, free: 16.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009974/1.512, allocations: 1.723 MB / 1.365 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003747/1.516, allocations: 0.654 MB / 1.366 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/1.516, allocations: 256.8 kB / 1.366 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.516, allocations: 0 / 1.366 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.1233/1.64, allocations: 74.28 MB / 1.438 GB, free: 6.27 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)