Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_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.001658/0.001658, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.001911/0.001911, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.639/2.639, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.806, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.129/0.935, allocations: 130.9 MB / 1.354 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03498/0.9701, allocations: 25.09 MB / 1.379 GB, free: 1.055 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005934/0.976, allocations: 135.2 kB / 1.379 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.007352/0.9835, allocations: 1.798 MB / 1.381 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.02046/1.004, allocations: 4.781 MB / 1.385 GB, free: 10.32 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01801/1.022, allocations: 3.518 MB / 1.389 GB, free: 6.824 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02085/1.043, allocations: 9.035 MB / 1.397 GB, free: 13.77 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008781/1.052, allocations: 3.207 MB / 1.401 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/1.065, allocations: 3.539 MB / 1.404 GB, free: 6.949 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007448/1.073, allocations: 2.478 MB / 1.406 GB, free: 4.461 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001941/1.075, allocations: 392 kB / 1.407 GB, free: 4.078 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/1.087, allocations: 2.884 MB / 1.41 GB, free: 1.191 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002212/1.089, allocations: 0.8877 MB / 1.411 GB, free: 308 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005333/1.095, allocations: 1.995 MB / 1.412 GB, free: 14.3 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/1.113, allocations: 6.397 MB / 1.419 GB, free: 7.883 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/1.113, allocations: 0 / 1.419 GB, free: 7.883 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.434e-06/1.113, allocations: 0 / 1.419 GB, free: 7.883 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001905/1.113, allocations: 4 kB / 1.419 GB, free: 7.879 MB / 1.139 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.01606/1.129, allocations: 4.203 MB / 1.423 GB, free: 3.562 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.129, allocations: 8.031 kB / 1.423 GB, free: 3.555 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/1.148, allocations: 1.305 MB / 1.424 GB, free: 2.246 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/1.158, allocations: 3.004 MB / 1.427 GB, free: 15.17 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005114/1.158, allocations: 263.9 kB / 1.427 GB, free: 14.9 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/1.159, allocations: 239.9 kB / 1.428 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/1.175, allocations: 3.156 MB / 1.431 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/1.175, allocations: 7.938 kB / 1.431 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007373/1.175, allocations: 104 kB / 1.431 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/1.176, allocations: 67.92 kB / 1.431 GB, free: 11.14 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009701/1.185, allocations: 2.753 MB / 1.433 GB, free: 8.375 MB / 1.154 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.02138/1.207, allocations: 13.6 MB / 1.447 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/1.211, allocations: 1.407 MB / 1.448 GB, free: 8.703 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/1.214, allocations: 0.8573 MB / 1.449 GB, free: 7.84 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/1.216, allocations: 1.785 MB / 1.451 GB, free: 5.668 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003531/1.219, allocations: 1.122 MB / 1.452 GB, free: 4.48 MB / 1.17 GB Notification: Performance of pre-optimization done (n=126): time 3.637e-06/1.219, allocations: 0 / 1.452 GB, free: 4.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=132): time 0.03211/1.251, allocations: 9.831 MB / 1.461 GB, free: 10.52 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002837/1.252, allocations: 0.5805 MB / 1.462 GB, free: 9.805 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/1.256, allocations: 2.648 MB / 1.465 GB, free: 7.137 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004588/1.257, allocations: 61.7 kB / 1.465 GB, free: 7.07 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/1.258, allocations: 1.369 MB / 1.466 GB, free: 5.691 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006067/1.259, allocations: 480 kB / 1.466 GB, free: 5.219 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007706/1.259, allocations: 463.1 kB / 1.467 GB, free: 4.762 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.26, allocations: 301.1 kB / 1.467 GB, free: 4.465 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/1.263, allocations: 0.9377 MB / 1.468 GB, free: 3.523 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/1.267, allocations: 1.518 MB / 1.47 GB, free: 1.762 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006914/1.274, allocations: 2.166 MB / 1.472 GB, free: 15.42 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.274, allocations: 3.938 kB / 1.472 GB, free: 15.42 MB / 1.201 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01175/1.286, allocations: 3.11 MB / 1.475 GB, free: 12.29 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/1.286, allocations: 37.69 kB / 1.475 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.286, allocations: 12 kB / 1.475 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/1.289, allocations: 0.9143 MB / 1.476 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/1.292, allocations: 459.2 kB / 1.476 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/1.295, allocations: 2.171 MB / 1.478 GB, free: 8.641 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004335/1.3, allocations: 279.6 kB / 1.478 GB, free: 8.367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/1.3, allocations: 111.9 kB / 1.479 GB, free: 8.258 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004614/1.305, allocations: 1.425 MB / 1.48 GB, free: 6.828 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004186/1.309, allocations: 1.511 MB / 1.481 GB, free: 5.078 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006817/1.316, allocations: 2.138 MB / 1.484 GB, free: 2.766 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.17e-05/1.316, allocations: 4 kB / 1.484 GB, free: 2.762 MB / 1.201 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01171/1.327, allocations: 3.083 MB / 1.487 GB, free: 15.65 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/1.327, allocations: 39.36 kB / 1.487 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.327, allocations: 19.92 kB / 1.487 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/1.331, allocations: 0.9136 MB / 1.487 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.333, allocations: 463.2 kB / 1.488 GB, free: 14.22 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/1.336, allocations: 2.155 MB / 1.49 GB, free: 12.02 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/1.341, allocations: 296.3 kB / 1.49 GB, free: 11.72 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/1.341, allocations: 107.9 kB / 1.49 GB, free: 11.62 MB / 1.217 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.0006481/1.342, allocations: 303.8 kB / 1.491 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008102/1.343, allocations: 302.1 kB / 1.491 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007574/1.35, allocations: 2.233 MB / 1.493 GB, free: 8.762 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006421/1.357, allocations: 1.865 MB / 1.495 GB, free: 6.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/1.357, allocations: 0 / 1.495 GB, free: 6.84 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.358, allocations: 0.581 MB / 1.496 GB, free: 6.238 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005789/1.359, allocations: 32 kB / 1.496 GB, free: 6.207 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.362, allocations: 207.6 kB / 1.496 GB, free: 6.004 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/1.362, allocations: 104.7 kB / 1.496 GB, free: 5.902 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01097/1.373, allocations: 3.048 MB / 1.499 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01047/1.384, allocations: 3.642 MB / 1.502 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003046/1.387, allocations: 0.8392 MB / 1.503 GB, free: 14.34 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003394/1.39, allocations: 1.835 MB / 1.505 GB, free: 12.51 MB / 1.232 GB Notification: Performance of Backend: time 6.21e-07/1.39, allocations: 0 / 1.505 GB, free: 12.51 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.404, allocations: 3.96 MB / 1.509 GB, free: 8.531 MB / 1.232 GB Notification: Performance of SimCode: time 0.01303/1.417, allocations: 6.478 MB / 1.515 GB, free: 2.035 MB / 1.232 GB Notification: Performance of Templates: time 0.7421/2.159, allocations: 90.51 MB / 1.604 GB, free: 310.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)