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.001163/0.001168, allocations: 108 kB / 16.4 MB, free: 6.488 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.001443/0.001443, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7763/0.7763, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 70.09 kB / 0.5577 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1506, allocations: 76.18 MB / 0.6321 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0682/0.2189, allocations: 75.19 MB / 0.7055 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02222/0.2411, allocations: 15.16 MB / 0.7203 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.244, allocations: 63.62 kB / 0.7204 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.2464, allocations: 0.858 MB / 0.7212 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007653/0.2541, allocations: 2.724 MB / 0.7239 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.2577, allocations: 1.4 MB / 0.7253 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005717/0.2634, allocations: 4.402 MB / 0.7296 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.2654, allocations: 1.461 MB / 0.731 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.269, allocations: 1.666 MB / 0.7326 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001888/0.2709, allocations: 1.221 MB / 0.7338 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.2712, allocations: 160 kB / 0.734 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.2741, allocations: 1.404 MB / 0.7353 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004036/0.2745, allocations: 402.6 kB / 0.7357 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.2756, allocations: 0.9021 MB / 0.7366 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.2795, allocations: 2.863 MB / 0.7394 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2795, allocations: 0 / 0.7394 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2795, allocations: 0 / 0.7394 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.739e-05/0.2796, allocations: 0 / 0.7394 GB, free: 6.246 MB / 0.5762 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.003779/0.2834, allocations: 2.083 MB / 0.7414 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2834, allocations: 12.03 kB / 0.7414 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008214/0.2842, allocations: 230.8 kB / 0.7417 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.2868, allocations: 1.513 MB / 0.7431 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.2869, allocations: 78 kB / 0.7432 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.2871, allocations: 111.9 kB / 0.7433 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.2892, allocations: 1.104 MB / 0.7444 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.2892, allocations: 4 kB / 0.7444 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.2893, allocations: 36 kB / 0.7444 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.2894, allocations: 28 kB / 0.7445 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.2914, allocations: 0.8939 MB / 0.7453 GB, free: 4 kB / 0.5762 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.3508/0.6422, allocations: 4.883 MB / 0.7501 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.6438, allocations: 0.6229 MB / 0.7507 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.6445, allocations: 349.8 kB / 0.751 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004774/0.645, allocations: 0.8296 MB / 0.7518 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.645, allocations: 43 kB / 0.7519 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.806e-06/0.645, allocations: 0 / 0.7519 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.008043/0.6531, allocations: 1.689 MB / 0.7535 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.6531, allocations: 58.77 kB / 0.7536 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.6551, allocations: 1.237 MB / 0.7548 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-05/0.6552, allocations: 38.27 kB / 0.7548 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.6557, allocations: 0.6048 MB / 0.7554 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.6559, allocations: 215.9 kB / 0.7556 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.6562, allocations: 156.3 kB / 0.7558 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.6563, allocations: 333 kB / 0.7561 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006692/0.6569, allocations: 291 kB / 0.7564 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.6578, allocations: 0.4902 MB / 0.7569 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.6591, allocations: 0.7041 MB / 0.7575 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6591, allocations: 2.062 kB / 0.7575 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004849/0.664, allocations: 1.273 MB / 0.7588 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.664, allocations: 7.25 kB / 0.7588 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.664, allocations: 7.906 kB / 0.7588 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.6647, allocations: 142.1 kB / 0.7589 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.6653, allocations: 155.2 kB / 0.7591 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000823/0.6661, allocations: 0.6993 MB / 0.7598 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6672, allocations: 122.9 kB / 0.7599 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.6673, allocations: 31.59 kB / 0.7599 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001249/0.6686, allocations: 0.5551 MB / 0.7605 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009293/0.6695, allocations: 0.4887 MB / 0.7609 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001371/0.6709, allocations: 0.7012 MB / 0.7616 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/0.6709, allocations: 1.219 kB / 0.7616 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005242/0.6762, allocations: 1.275 MB / 0.7629 GB, free: 101 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.6762, allocations: 6.656 kB / 0.7629 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6763, allocations: 3.656 kB / 0.7629 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.6769, allocations: 137.7 kB / 0.763 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.6777, allocations: 158.5 kB / 0.7632 GB, free: 101 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008912/0.6786, allocations: 0.7037 MB / 0.7638 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.68, allocations: 100.6 kB / 0.7639 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.68, allocations: 33.22 kB / 0.764 GB, free: 100.4 MB / 0.5762 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.0003127/0.6804, allocations: 233.6 kB / 0.7642 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.6806, allocations: 135.8 kB / 0.7643 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/0.6857, allocations: 1.27 MB / 0.7656 GB, free: 99.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.6858, allocations: 10.67 kB / 0.7656 GB, free: 99.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.6858, allocations: 3.938 kB / 0.7656 GB, free: 99.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004342/0.6901, allocations: 1.097 MB / 0.7667 GB, free: 98.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.6968, allocations: 2.613 MB / 0.7692 GB, free: 97.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6969, allocations: 2.625 kB / 0.7692 GB, free: 97.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.6974, allocations: 114.9 kB / 0.7693 GB, free: 96.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.6979, allocations: 126.9 kB / 0.7694 GB, free: 96.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.698, allocations: 24.77 kB / 0.7695 GB, free: 96.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.7027, allocations: 2.635 MB / 0.772 GB, free: 94.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7028, allocations: 11.97 kB / 0.772 GB, free: 94.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/0.7081, allocations: 1.697 MB / 0.7737 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/0.7088, allocations: 306.5 kB / 0.774 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.709, allocations: 15.94 kB / 0.774 GB, free: 93.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/0.7099, allocations: 55.44 kB / 0.7741 GB, free: 93.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.71, allocations: 65.73 kB / 0.7741 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.7101, allocations: 31.7 kB / 0.7742 GB, free: 93.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001175/0.7113, allocations: 0.8804 MB / 0.775 GB, free: 92.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7113, allocations: 0 / 0.775 GB, free: 92.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00185/0.7131, allocations: 0.7184 MB / 0.7757 GB, free: 92.71 MB / 0.5762 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.0008489/0.714, allocations: 462.2 kB / 0.7762 GB, free: 92.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.7166, allocations: 1.121 MB / 0.7773 GB, free: 92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.7166, allocations: 8.031 kB / 0.7773 GB, free: 92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.718, allocations: 0.5616 MB / 0.7778 GB, free: 91.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/0.7216, allocations: 0.8 MB / 0.7786 GB, free: 91.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.7249, allocations: 2.271 MB / 0.7808 GB, free: 88.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.7254, allocations: 1.183 MB / 0.782 GB, free: 87.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001004/0.7264, allocations: 309 kB / 0.7823 GB, free: 87.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.7267, allocations: 107.4 kB / 0.7824 GB, free: 87.08 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.7267, allocations: 0 / 0.7824 GB, free: 87.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.04281/0.7695, allocations: 32.42 MB / 0.814 GB, free: 55.04 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)