Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.ETS.Combined.Subsystems.Validation.HeatPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.senTDisSup.T|heaPum.senTEvaRet.T|senTLoaSup.T|heaPum.heaPum.QCon_flow|heaPum.heaPum.QCon_flow_nominal|heaPum.heaPum.m1_flow|heaPum.heaPum.m2_flow|heaPum.PHea",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump") translateModel(Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.senTDisSup.T|heaPum.senTEvaRet.T|senTLoaSup.T|heaPum.heaPum.QCon_flow|heaPum.heaPum.QCon_flow_nominal|heaPum.heaPum.m1_flow|heaPum.heaPum.m2_flow|heaPum.PHea",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001563/0.001562, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.572/1.572, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 59.91 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.173, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump): time 0.1883/1.362, allocations: 190.8 MB / 1.407 GB, free: 2.949 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.068/1.43, allocations: 43.88 MB / 1.45 GB, free: 6.961 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01093/1.441, allocations: 210.8 kB / 1.45 GB, free: 6.754 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/1.452, allocations: 3.279 MB / 1.453 GB, free: 3.461 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02316/1.475, allocations: 6.65 MB / 1.46 GB, free: 12.79 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0155/1.491, allocations: 5.112 MB / 1.465 GB, free: 7.695 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.03987/1.531, allocations: 23.13 MB / 1.488 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/1.542, allocations: 4.541 MB / 1.492 GB, free: 11.89 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01617/1.558, allocations: 5.244 MB / 1.497 GB, free: 6.641 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009409/1.567, allocations: 3.591 MB / 1.501 GB, free: 3.035 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.003036/1.57, allocations: 0.5781 MB / 1.501 GB, free: 2.457 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/1.582, allocations: 3.701 MB / 1.505 GB, free: 14.75 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00358/1.586, allocations: 1.64 MB / 1.506 GB, free: 13.11 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.008293/1.594, allocations: 3.091 MB / 1.509 GB, free: 10 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.02362/1.618, allocations: 10.38 MB / 1.52 GB, free: 15.59 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.618, allocations: 0 / 1.52 GB, free: 15.59 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.625e-06/1.618, allocations: 0 / 1.52 GB, free: 15.59 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0004072/1.618, allocations: 0 / 1.52 GB, free: 15.59 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 646 * Number of variables: 646 Notification: Performance of Generate backend data structure: time 0.0256/1.644, allocations: 6.128 MB / 1.526 GB, free: 9.355 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 9.465e-05/1.644, allocations: 8.031 kB / 1.526 GB, free: 9.348 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007993/1.652, allocations: 1.137 MB / 1.527 GB, free: 8.203 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/1.671, allocations: 6.601 MB / 1.533 GB, free: 1.523 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/1.671, allocations: 209.1 kB / 1.533 GB, free: 1.316 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/1.673, allocations: 283.9 kB / 1.534 GB, free: 1.039 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008064/1.681, allocations: 3.483 MB / 1.537 GB, free: 13.36 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.222e-05/1.681, allocations: 7.938 kB / 1.537 GB, free: 13.36 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/1.681, allocations: 108 kB / 1.537 GB, free: 13.25 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/1.681, allocations: 96.72 kB / 1.537 GB, free: 13.15 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007308/1.689, allocations: 2.723 MB / 1.54 GB, free: 10.41 MB / 1.264 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.03325/1.722, allocations: 18.86 MB / 1.558 GB, free: 6.34 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/1.727, allocations: 2.028 MB / 1.56 GB, free: 4.312 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/1.73, allocations: 1.121 MB / 1.561 GB, free: 3.195 MB / 1.279 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 evalFunc (simulation): time 1.086/2.816, allocations: 6.253 MB / 1.567 GB, free: 328.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003567/2.82, allocations: 1.389 MB / 1.569 GB, free: 327.6 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002454/2.822, allocations: 238 kB / 1.569 GB, free: 327.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=138): time 1.015e-05/2.822, allocations: 0 / 1.569 GB, free: 327.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=138): time 0.01433/2.836, allocations: 4.002 MB / 1.573 GB, free: 326.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/2.836, allocations: 148.4 kB / 1.573 GB, free: 326.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/2.847, allocations: 4.662 MB / 1.578 GB, free: 324.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0007661/2.848, allocations: 66.45 kB / 1.578 GB, free: 324.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002229/2.85, allocations: 2.128 MB / 1.58 GB, free: 323 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008514/2.851, allocations: 498.1 kB / 1.58 GB, free: 322.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/2.852, allocations: 0.6927 MB / 1.581 GB, free: 322.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/2.852, allocations: 301.7 kB / 1.581 GB, free: 322.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/2.856, allocations: 1.864 MB / 1.583 GB, free: 321.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/2.86, allocations: 2.741 MB / 1.586 GB, free: 319.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005889/2.866, allocations: 4.255 MB / 1.59 GB, free: 317.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/2.866, allocations: 3.906 kB / 1.59 GB, free: 317.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=388) (initialization): time 0.01136/2.877, allocations: 5.451 MB / 1.595 GB, free: 315.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/2.877, allocations: 13 kB / 1.595 GB, free: 315.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.215e-05/2.877, allocations: 19.78 kB / 1.595 GB, free: 315.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/2.879, allocations: 489.2 kB / 1.596 GB, free: 315 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/2.883, allocations: 0.6062 MB / 1.596 GB, free: 314.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/2.887, allocations: 3.942 MB / 1.6 GB, free: 311.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/2.892, allocations: 199.2 kB / 1.6 GB, free: 311.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006133/2.892, allocations: 165.6 kB / 1.6 GB, free: 311.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005226/2.898, allocations: 2.608 MB / 1.603 GB, free: 310.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003116/2.901, allocations: 2.482 MB / 1.605 GB, free: 308.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005299/2.906, allocations: 3.736 MB / 1.609 GB, free: 304.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.656e-05/2.906, allocations: 8 kB / 1.609 GB, free: 304.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=388) (initialization_lambda0): time 0.01167/2.918, allocations: 4.966 MB / 1.614 GB, free: 299.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/2.918, allocations: 12 kB / 1.614 GB, free: 299.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.051e-05/2.918, allocations: 20 kB / 1.614 GB, free: 299.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/2.92, allocations: 484.9 kB / 1.614 GB, free: 299.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/2.923, allocations: 0.5838 MB / 1.615 GB, free: 298.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008583/2.931, allocations: 6.985 MB / 1.622 GB, free: 291.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00546/2.937, allocations: 211 kB / 1.622 GB, free: 291.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009551/2.938, allocations: 143.9 kB / 1.622 GB, free: 291 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 2 (enaHea.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 294 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0017/2.939, allocations: 343.2 kB / 1.623 GB, free: 290.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002149/2.942, allocations: 442.3 kB / 1.623 GB, free: 290.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009947/2.952, allocations: 3.219 MB / 1.626 GB, free: 287.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006257/2.958, allocations: 2.462 MB / 1.628 GB, free: 284.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/2.958, allocations: 4 kB / 1.628 GB, free: 284.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002874/2.961, allocations: 0.7762 MB / 1.629 GB, free: 283.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/2.963, allocations: 35.94 kB / 1.629 GB, free: 283.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003396/2.966, allocations: 143.8 kB / 1.629 GB, free: 283.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/2.966, allocations: 117.1 kB / 1.63 GB, free: 283.5 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007217/2.974, allocations: 2.759 MB / 1.632 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007806/2.981, allocations: 4.024 MB / 1.636 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001985/2.983, allocations: 1.038 MB / 1.637 GB, free: 275.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006519/2.99, allocations: 3.128 MB / 1.64 GB, free: 272.6 MB / 1.279 GB Notification: Performance of Backend: time 1.112e-06/2.99, allocations: 0 / 1.64 GB, free: 272.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01927/3.009, allocations: 6.528 MB / 1.647 GB, free: 266.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.02579/3.035, allocations: 9.922 MB / 1.656 GB, free: 256.4 MB / 1.279 GB Notification: Performance of Templates: time 0.1558/3.191, allocations: 109.9 MB / 1.764 GB, free: 147.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump.sim & ./Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPump.pipe 2>&1)