Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank.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.HeatPumpDHWTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theMixVal.TMixSet|theMixVal.senTMix.T|theMixVal.senTHot.T|sch.y.1.|heaPum.PHea|heaPum.PPum|heaPum.heaPumTan.charge|heaPum.heaPumTan.conCha.TTanTopSet|heaPum.heaPumTan.conCha.TTanTop|heaPum.heaPumTan.conCha.TTanBot|heaPum.COP_nominal|heaPum.heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank") translateModel(Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theMixVal.TMixSet|theMixVal.senTMix.T|theMixVal.senTHot.T|sch.y.1.|heaPum.PHea|heaPum.PPum|heaPum.heaPumTan.charge|heaPum.heaPumTan.conCha.TTanTopSet|heaPum.heaPumTan.conCha.TTanTop|heaPum.heaPumTan.conCha.TTanBot|heaPum.COP_nominal|heaPum.heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.002575/0.002575, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.867/1.867, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.918/2.918, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank): time 1.486/2.541, allocations: 420.9 MB / 1.619 GB, free: 66.54 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1328/2.673, allocations: 89.65 MB / 1.707 GB, free: 60.61 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02756/2.701, allocations: 466 kB / 1.707 GB, free: 60.61 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02355/2.725, allocations: 6.055 MB / 1.713 GB, free: 59.13 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04945/2.774, allocations: 13.21 MB / 1.726 GB, free: 54.85 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02726/2.802, allocations: 10.56 MB / 1.737 GB, free: 47.65 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.06178/2.863, allocations: 49.07 MB / 1.785 GB, free: 9.129 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02214/2.886, allocations: 13.66 MB / 1.798 GB, free: 11.54 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03803/2.924, allocations: 13.42 MB / 1.811 GB, free: 14.84 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0217/2.945, allocations: 9.361 MB / 1.82 GB, free: 6.133 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.009484/2.955, allocations: 1.699 MB / 1.822 GB, free: 4.434 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02443/2.979, allocations: 6.456 MB / 1.828 GB, free: 14.25 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.009063/2.988, allocations: 4.064 MB / 1.832 GB, free: 10.24 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02393/3.012, allocations: 8.007 MB / 1.84 GB, free: 2.262 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.05898/3.071, allocations: 26.46 MB / 1.866 GB, free: 8.438 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/3.072, allocations: 8 kB / 1.866 GB, free: 8.43 MB / 1.357 GB Notification: Performance of FrontEnd: time 2.484e-06/3.072, allocations: 0 / 1.866 GB, free: 8.43 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0009405/3.073, allocations: 3.938 kB / 1.866 GB, free: 8.426 MB / 1.357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1838 * Number of variables: 1838 Notification: Performance of Generate backend data structure: time 0.05305/3.126, allocations: 14.4 MB / 1.88 GB, free: 10 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/3.126, allocations: 8.031 kB / 1.88 GB, free: 9.996 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/3.141, allocations: 2.439 MB / 1.882 GB, free: 7.539 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03945/3.181, allocations: 15.52 MB / 1.897 GB, free: 8.207 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006756/3.182, allocations: 0.5638 MB / 1.898 GB, free: 7.645 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003185/3.185, allocations: 0.7564 MB / 1.899 GB, free: 6.891 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02917/3.214, allocations: 10.24 MB / 1.909 GB, free: 12.34 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/3.214, allocations: 19.81 kB / 1.909 GB, free: 12.32 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002615/3.217, allocations: 304 kB / 1.909 GB, free: 12.02 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002663/3.217, allocations: 261.6 kB / 1.909 GB, free: 11.76 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/3.243, allocations: 8.49 MB / 1.917 GB, free: 3.262 MB / 1.404 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.1055/3.349, allocations: 52.44 MB / 1.969 GB, free: 11.95 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/3.363, allocations: 5.49 MB / 1.974 GB, free: 6.434 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00814/3.371, allocations: 3.454 MB / 1.977 GB, free: 2.984 MB / 1.467 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 0.03502/3.406, allocations: 15.62 MB / 1.993 GB, free: 2.531 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009311/3.416, allocations: 3.523 MB / 1.996 GB, free: 14.97 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006364/3.422, allocations: 0.6294 MB / 1.997 GB, free: 14.34 MB / 1.498 GB Notification: Performance of pre-optimization done (n=372): time 2.322e-05/3.422, allocations: 0 / 1.997 GB, free: 14.34 MB / 1.498 GB Notification: Performance of matching and sorting (n=372): time 0.04003/3.462, allocations: 10.65 MB / 2.007 GB, free: 3.527 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/3.462, allocations: 248.5 kB / 2.007 GB, free: 3.234 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03106/3.493, allocations: 10.9 MB / 2.018 GB, free: 8.367 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.001736/3.495, allocations: 125.7 kB / 2.018 GB, free: 8.238 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.01175/3.507, allocations: 5.354 MB / 2.023 GB, free: 2.887 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.003895/3.511, allocations: 1.298 MB / 2.025 GB, free: 1.602 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008208/3.519, allocations: 1.49 MB / 2.026 GB, free: 104 kB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.0001412/3.519, allocations: 305.1 kB / 2.026 GB, free: 15.8 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009485/3.529, allocations: 4.075 MB / 2.03 GB, free: 11.71 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/3.541, allocations: 6.131 MB / 2.036 GB, free: 4.703 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02223/3.564, allocations: 9.67 MB / 2.046 GB, free: 10.29 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.999e-05/3.564, allocations: 20 kB / 2.046 GB, free: 10.27 MB / 1.545 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.03557/3.599, allocations: 11.97 MB / 2.057 GB, free: 14.2 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/3.599, allocations: 27.98 kB / 2.058 GB, free: 14.17 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/3.6, allocations: 52.05 kB / 2.058 GB, free: 14.12 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004437/3.604, allocations: 1.12 MB / 2.059 GB, free: 12.99 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007467/3.612, allocations: 1.4 MB / 2.06 GB, free: 11.59 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/3.622, allocations: 9.05 MB / 2.069 GB, free: 2.117 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/3.634, allocations: 476 kB / 2.069 GB, free: 1.652 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002842/3.637, allocations: 355.9 kB / 2.07 GB, free: 1.305 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01968/3.657, allocations: 6.479 MB / 2.076 GB, free: 10.82 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01139/3.668, allocations: 5.709 MB / 2.082 GB, free: 4.227 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01916/3.688, allocations: 8.855 MB / 2.09 GB, free: 10.63 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.736e-05/3.688, allocations: 12 kB / 2.09 GB, free: 10.62 MB / 1.592 GB Notification: Performance of matching and sorting (n=865) (initialization_lambda0): time 0.03434/3.722, allocations: 11.13 MB / 2.101 GB, free: 15.38 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/3.722, allocations: 28 kB / 2.101 GB, free: 15.36 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/3.722, allocations: 48.05 kB / 2.101 GB, free: 15.31 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004227/3.727, allocations: 1.087 MB / 2.102 GB, free: 14.21 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006907/3.734, allocations: 1.365 MB / 2.104 GB, free: 12.84 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/3.75, allocations: 12.73 MB / 2.116 GB, free: 15.42 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/3.762, allocations: 493 kB / 2.116 GB, free: 14.94 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/3.765, allocations: 327.9 kB / 2.117 GB, free: 14.62 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition4,$PRE.sch.nextTimeEvent,$whenCondition3,theMixVal.conPID.con1.y,heaPum.heaPumTan.conVal.ram.local_reset,sch.nextTimeEventScaled,$PRE.sch.nextTimeEventScaled,sch.nextTimeEvent,heaPum.and2.y,heaPum.heaPumTan.conVal.cha.y,$PRE.heaPum.heaPumTan.conVal.cha.y,heaPum.heaPumTan.conCha.cha1.y,$PRE.heaPum.heaPumTan.conCha.cha1.y,heaPum.heaPumTan.conCha.cha.y,$PRE.heaPum.heaPumTan.conCha.cha.y,heaPum.heaPumTan.conCha.lat.y,heaPum.heaPumTan.conPum.hysMasFlo.y,$PRE.heaPum.heaPumTan.conPum.hysMasFlo.y,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 696 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 6 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (3,16), (1,9), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.003892/3.769, allocations: 0.564 MB / 2.117 GB, free: 14.05 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005158/3.774, allocations: 1.011 MB / 2.118 GB, free: 13.02 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/3.801, allocations: 7.918 MB / 2.126 GB, free: 5.133 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01792/3.819, allocations: 6.16 MB / 2.132 GB, free: 14.88 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/3.819, allocations: 0 / 2.132 GB, free: 14.88 MB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007732/3.827, allocations: 1.967 MB / 2.134 GB, free: 12.88 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004573/3.831, allocations: 91.98 kB / 2.134 GB, free: 12.79 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008822/3.84, allocations: 355.5 kB / 2.134 GB, free: 12.45 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/3.841, allocations: 314.8 kB / 2.135 GB, free: 12.14 MB / 1.639 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02308/3.864, allocations: 7.292 MB / 2.142 GB, free: 4.891 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02536/3.89, allocations: 10.4 MB / 2.152 GB, free: 10.43 MB / 1.654 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006358/3.896, allocations: 2.865 MB / 2.155 GB, free: 7.562 MB / 1.654 GB Notification: Performance of sorting global known variables: time 0.02001/3.916, allocations: 7.383 MB / 2.162 GB, free: 220 kB / 1.654 GB Notification: Performance of Backend: time 1.714e-06/3.916, allocations: 0 / 2.162 GB, free: 220 kB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.04643/3.963, allocations: 14.3 MB / 2.176 GB, free: 2.254 MB / 1.67 GB Notification: Performance of SimCode: time 1.704/5.667, allocations: 24.35 MB / 2.2 GB, free: 0.6835 GB / 1.686 GB Notification: Performance of Templates: time 0.3712/6.038, allocations: 251.1 MB / 2.445 GB, free: 492.7 MB / 1.686 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank.sim & ./Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatPumpDHWTank.pipe 2>&1)