Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001889/0.001889, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.00209/0.00209, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.435/1.435, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 71.8 kB / 1.097 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3165, allocations: 168.7 MB / 1.262 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1428/0.4593, allocations: 131.8 MB / 1.391 GB, free: 8.828 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03733/0.4966, allocations: 25.15 MB / 1.415 GB, free: 15.62 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.5009, allocations: 135.2 kB / 1.415 GB, free: 15.48 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005428/0.5064, allocations: 1.809 MB / 1.417 GB, free: 13.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.5198, allocations: 4.778 MB / 1.422 GB, free: 8.867 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.009507/0.5293, allocations: 3.563 MB / 1.425 GB, free: 5.332 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01317/0.5425, allocations: 9.036 MB / 1.434 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004901/0.5474, allocations: 2.629 MB / 1.437 GB, free: 9.578 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008146/0.5555, allocations: 3.532 MB / 1.44 GB, free: 6.047 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004818/0.5603, allocations: 2.612 MB / 1.443 GB, free: 3.426 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.5614, allocations: 388 kB / 1.443 GB, free: 3.047 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/0.5684, allocations: 2.937 MB / 1.446 GB, free: 108 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.5697, allocations: 0.9185 MB / 1.447 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.5727, allocations: 1.991 MB / 1.449 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.5832, allocations: 6.409 MB / 1.455 GB, free: 6.754 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.5832, allocations: 0 / 1.455 GB, free: 6.754 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5832, allocations: 0 / 1.455 GB, free: 6.754 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.413e-05/0.5833, allocations: 0 / 1.455 GB, free: 6.754 MB / 1.17 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.008163/0.5914, allocations: 4.199 MB / 1.459 GB, free: 2.438 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5915, allocations: 8.031 kB / 1.459 GB, free: 2.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.6018, allocations: 1.302 MB / 1.46 GB, free: 1.125 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/0.6076, allocations: 3.006 MB / 1.463 GB, free: 14.05 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.6079, allocations: 252 kB / 1.464 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/0.6084, allocations: 243.9 kB / 1.464 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/0.6164, allocations: 3.16 MB / 1.467 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.399e-05/0.6165, allocations: 7.938 kB / 1.467 GB, free: 10.19 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/0.6168, allocations: 100 kB / 1.467 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.962e-05/0.6169, allocations: 79.86 kB / 1.467 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009277/0.6261, allocations: 2.745 MB / 1.47 GB, free: 7.254 MB / 1.186 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.03037/0.6565, allocations: 13.59 MB / 1.483 GB, free: 9.004 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006635/0.6631, allocations: 1.318 MB / 1.484 GB, free: 7.684 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/0.6678, allocations: 0.8031 MB / 1.485 GB, free: 6.879 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002962/0.6708, allocations: 1.781 MB / 1.487 GB, free: 4.711 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005549/0.6764, allocations: 1.128 MB / 1.488 GB, free: 3.52 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 5.21e-06/0.6764, allocations: 0 / 1.488 GB, free: 3.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.03801/0.7144, allocations: 9.816 MB / 1.498 GB, free: 9.574 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003249/0.7147, allocations: 0.5805 MB / 1.498 GB, free: 8.859 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.7193, allocations: 2.648 MB / 1.501 GB, free: 6.195 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/0.7196, allocations: 57.7 kB / 1.501 GB, free: 6.133 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.721, allocations: 1.371 MB / 1.502 GB, free: 4.75 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.7216, allocations: 479.9 kB / 1.503 GB, free: 4.277 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007821/0.7224, allocations: 463.1 kB / 1.503 GB, free: 3.82 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7225, allocations: 305.1 kB / 1.503 GB, free: 3.52 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003801/0.7263, allocations: 0.9376 MB / 1.504 GB, free: 2.578 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.7307, allocations: 1.53 MB / 1.506 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007308/0.7381, allocations: 2.153 MB / 1.508 GB, free: 14.48 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.7381, allocations: 7.938 kB / 1.508 GB, free: 14.47 MB / 1.232 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01215/0.7502, allocations: 3.091 MB / 1.511 GB, free: 11.36 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.7503, allocations: 41.69 kB / 1.511 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.7503, allocations: 12 kB / 1.511 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/0.7535, allocations: 0.9101 MB / 1.512 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.7564, allocations: 463.4 kB / 1.512 GB, free: 9.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/0.7611, allocations: 2.171 MB / 1.514 GB, free: 7.707 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006709/0.7678, allocations: 287.6 kB / 1.515 GB, free: 7.426 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/0.7683, allocations: 103.9 kB / 1.515 GB, free: 7.324 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007449/0.7757, allocations: 1.433 MB / 1.516 GB, free: 5.887 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006561/0.7823, allocations: 1.499 MB / 1.518 GB, free: 4.148 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0106/0.7929, allocations: 2.13 MB / 1.52 GB, free: 1.844 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.23e-05/0.7929, allocations: 4 kB / 1.52 GB, free: 1.84 MB / 1.232 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01395/0.8069, allocations: 3.067 MB / 1.523 GB, free: 14.75 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.8069, allocations: 39.36 kB / 1.523 GB, free: 14.71 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.8069, allocations: 12 kB / 1.523 GB, free: 14.7 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/0.8102, allocations: 0.922 MB / 1.524 GB, free: 13.77 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/0.813, allocations: 467.2 kB / 1.524 GB, free: 13.32 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.8165, allocations: 2.159 MB / 1.526 GB, free: 11.11 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/0.821, allocations: 288.1 kB / 1.526 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/0.8213, allocations: 107.9 kB / 1.527 GB, free: 10.72 MB / 1.248 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.000688/0.822, allocations: 295.8 kB / 1.527 GB, free: 10.42 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009732/0.823, allocations: 302.1 kB / 1.527 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008278/0.8313, allocations: 2.223 MB / 1.529 GB, free: 7.879 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00675/0.838, allocations: 1.838 MB / 1.531 GB, free: 5.988 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.838, allocations: 4 kB / 1.531 GB, free: 5.984 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.8396, allocations: 0.581 MB / 1.532 GB, free: 5.383 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005304/0.8401, allocations: 32 kB / 1.532 GB, free: 5.352 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003041/0.8431, allocations: 207.7 kB / 1.532 GB, free: 5.148 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.8433, allocations: 96.8 kB / 1.532 GB, free: 5.051 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0116/0.8549, allocations: 3.042 MB / 1.535 GB, free: 1.992 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01095/0.8659, allocations: 3.647 MB / 1.539 GB, free: 14.32 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003185/0.8691, allocations: 0.8122 MB / 1.539 GB, free: 13.51 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003426/0.8725, allocations: 1.839 MB / 1.541 GB, free: 11.67 MB / 1.264 GB Notification: Performance of Backend: time 2e-07/0.8725, allocations: 0 / 1.541 GB, free: 11.67 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0142/0.8867, allocations: 3.805 MB / 1.545 GB, free: 7.852 MB / 1.264 GB Notification: Performance of SimCode: time 0.01386/0.9006, allocations: 6.475 MB / 1.551 GB, free: 1.359 MB / 1.264 GB Notification: Performance of Templates: time 0.6745/1.575, allocations: 91.92 MB / 1.641 GB, free: 218 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)