Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 106.3 kB / 16.52 MB, free: 6.27 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.002258/0.002258, allocations: 192.8 kB / 17.44 MB, free: 5.887 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.89 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.392, allocations: 76.17 MB / 0.5564 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07217/0.4643, allocations: 74.73 MB / 0.6294 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.4869, allocations: 15.21 MB / 0.6442 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004056/0.491, allocations: 59.62 kB / 0.6443 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.4943, allocations: 0.6838 MB / 0.6449 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009005/0.5033, allocations: 2.38 MB / 0.6473 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.5076, allocations: 1.276 MB / 0.6485 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008175/0.5158, allocations: 5.551 MB / 0.6539 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002938/0.5188, allocations: 1.198 MB / 0.6551 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004227/0.523, allocations: 1.369 MB / 0.6564 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003065/0.5261, allocations: 1.198 MB / 0.6576 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000681/0.5268, allocations: 76 kB / 0.6577 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.5313, allocations: 1.251 MB / 0.6589 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008392/0.5322, allocations: 322.5 kB / 0.6592 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002403/0.5346, allocations: 0.8045 MB / 0.66 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.5389, allocations: 2.206 MB / 0.6621 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5389, allocations: 4 kB / 0.6621 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5389, allocations: 0 / 0.6621 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001045/0.539, allocations: 0 / 0.6621 GB, free: 8.129 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006603/0.5457, allocations: 2.091 MB / 0.6642 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5457, allocations: 11.97 kB / 0.6642 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.547, allocations: 234.9 kB / 0.6644 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/0.5508, allocations: 1.478 MB / 0.6659 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/0.5509, allocations: 78 kB / 0.6659 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.5512, allocations: 107.9 kB / 0.666 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.5539, allocations: 1.108 MB / 0.6671 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/0.5539, allocations: 0 / 0.6671 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.5541, allocations: 40 kB / 0.6672 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.5541, allocations: 31.98 kB / 0.6672 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.5563, allocations: 0.8861 MB / 0.6681 GB, free: 1.914 MB / 0.4981 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.008023/0.5644, allocations: 4.905 MB / 0.6728 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.5659, allocations: 0.6236 MB / 0.6735 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.5667, allocations: 342.3 kB / 0.6738 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007394/0.5675, allocations: 0.8316 MB / 0.6746 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.5675, allocations: 39.12 kB / 0.6746 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.875e-06/0.5675, allocations: 0 / 0.6746 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007082/0.5746, allocations: 1.693 MB / 0.6763 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.5747, allocations: 55.97 kB / 0.6763 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.577, allocations: 1.214 MB / 0.6775 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.5771, allocations: 41.7 kB / 0.6776 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006036/0.5777, allocations: 0.6104 MB / 0.6782 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.578, allocations: 212.9 kB / 0.6784 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.5783, allocations: 162.4 kB / 0.6785 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5785, allocations: 333.9 kB / 0.6788 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.5792, allocations: 292.7 kB / 0.6791 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/0.5801, allocations: 496.7 kB / 0.6796 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.5815, allocations: 0.7127 MB / 0.6803 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5816, allocations: 0 / 0.6803 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004944/0.5865, allocations: 1.277 MB / 0.6815 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.5865, allocations: 8 kB / 0.6815 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.5866, allocations: 4 kB / 0.6815 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.5872, allocations: 137 kB / 0.6817 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.5878, allocations: 163.8 kB / 0.6818 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008932/0.5887, allocations: 0.6967 MB / 0.6825 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.5902, allocations: 155.1 kB / 0.6827 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.51e-05/0.5903, allocations: 35.98 kB / 0.6827 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/0.5916, allocations: 0.5574 MB / 0.6832 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008733/0.5925, allocations: 494.8 kB / 0.6837 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/0.5939, allocations: 0.7051 MB / 0.6844 GB, free: 312 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.713e-06/0.5939, allocations: 4 kB / 0.6844 GB, free: 308 kB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004825/0.5987, allocations: 1.265 MB / 0.6856 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5988, allocations: 8 kB / 0.6856 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5988, allocations: 4 kB / 0.6856 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.5993, allocations: 137.9 kB / 0.6858 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.6, allocations: 159.7 kB / 0.6859 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00087/0.6008, allocations: 0.705 MB / 0.6866 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.6022, allocations: 139.4 kB / 0.6868 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/0.6023, allocations: 35.98 kB / 0.6868 GB, free: 13.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003266/0.6026, allocations: 224 kB / 0.687 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004692/0.6031, allocations: 134.4 kB / 0.6871 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.6079, allocations: 1.266 MB / 0.6884 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.6079, allocations: 11.98 kB / 0.6884 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6079, allocations: 0 / 0.6884 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004039/0.612, allocations: 1.096 MB / 0.6894 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007421/0.6194, allocations: 2.61 MB / 0.692 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.6194, allocations: 8 kB / 0.692 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.62, allocations: 107.9 kB / 0.6921 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005192/0.6205, allocations: 136.9 kB / 0.6922 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.6206, allocations: 19.98 kB / 0.6923 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/0.6256, allocations: 2.375 MB / 0.6946 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6257, allocations: 12 kB / 0.6946 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.6315, allocations: 1.695 MB / 0.6962 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.6325, allocations: 315 kB / 0.6965 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004864/0.633, allocations: 19.98 kB / 0.6966 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6343, allocations: 72.09 kB / 0.6966 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.6345, allocations: 68.17 kB / 0.6967 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.6346, allocations: 35.98 kB / 0.6967 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001927/0.6365, allocations: 0.8662 MB / 0.6976 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6365, allocations: 0 / 0.6976 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002994/0.6395, allocations: 0.7095 MB / 0.6983 GB, free: 1.641 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.6408, allocations: 452.1 kB / 0.6987 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.644, allocations: 1.11 MB / 0.6998 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.644, allocations: 0 / 0.6998 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.6456, allocations: 0.5643 MB / 0.7003 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/0.65, allocations: 0.7588 MB / 0.7011 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/0.6553, allocations: 2.789 MB / 0.7038 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.6564, allocations: 1.168 MB / 0.7049 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.6568, allocations: 115.3 kB / 0.705 GB, free: 10.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.143e-06/0.6568, allocations: 7.938 kB / 0.7051 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Templates: time 0.04837/0.7052, allocations: 30.94 MB / 0.7353 GB, free: 11.84 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)