Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 105.6 kB / 16.52 MB, free: 6.66 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.001347/0.001347, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7579/0.7579, allocations: 115.3 MB / 406.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 493.6 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4159, allocations: 76.17 MB / 0.5564 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06888/0.4848, allocations: 74.73 MB / 0.6293 GB, free: 9.809 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.5057, allocations: 15.2 MB / 0.6442 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003433/0.5092, allocations: 63.56 kB / 0.6443 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.5121, allocations: 0.6837 MB / 0.6449 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007756/0.5199, allocations: 2.398 MB / 0.6473 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.5238, allocations: 1.261 MB / 0.6485 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007454/0.5313, allocations: 5.548 MB / 0.6539 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.5336, allocations: 1.198 MB / 0.6551 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.5371, allocations: 1.369 MB / 0.6564 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.5395, allocations: 1.206 MB / 0.6576 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.5398, allocations: 76 kB / 0.6577 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.5433, allocations: 1.271 MB / 0.6589 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.5438, allocations: 318.6 kB / 0.6592 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.5451, allocations: 0.8084 MB / 0.66 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.5483, allocations: 2.222 MB / 0.6622 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5483, allocations: 0 / 0.6622 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5483, allocations: 4 kB / 0.6622 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.095e-05/0.5484, allocations: 0 / 0.6622 GB, free: 8.09 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.004316/0.5527, allocations: 2.091 MB / 0.6642 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.5528, allocations: 11.97 kB / 0.6642 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008567/0.5536, allocations: 230.8 kB / 0.6644 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.5562, allocations: 1.49 MB / 0.6659 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.5563, allocations: 78 kB / 0.666 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.5565, allocations: 100 kB / 0.6661 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.5585, allocations: 1.104 MB / 0.6672 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.5585, allocations: 0 / 0.6672 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/0.5586, allocations: 40 kB / 0.6672 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.633e-05/0.5587, allocations: 28 kB / 0.6672 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.5605, allocations: 0.8978 MB / 0.6681 GB, free: 1.871 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.006957/0.5675, allocations: 4.905 MB / 0.6729 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.569, allocations: 0.6233 MB / 0.6735 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/0.5697, allocations: 354.3 kB / 0.6738 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/0.5704, allocations: 0.8277 MB / 0.6746 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.5705, allocations: 47.12 kB / 0.6747 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 3.346e-06/0.5705, allocations: 0 / 0.6747 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.00503/0.5755, allocations: 1.405 MB / 0.6761 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5756, allocations: 59.97 kB / 0.6761 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.5774, allocations: 1.21 MB / 0.6773 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.5776, allocations: 41.7 kB / 0.6773 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/0.5781, allocations: 0.6026 MB / 0.6779 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.5784, allocations: 224.7 kB / 0.6781 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.5786, allocations: 150.6 kB / 0.6783 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.5788, allocations: 334 kB / 0.6786 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/0.5795, allocations: 292.7 kB / 0.6789 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.5804, allocations: 496.5 kB / 0.6793 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.5818, allocations: 0.7119 MB / 0.68 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.5818, allocations: 4 kB / 0.68 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004761/0.5866, allocations: 1.269 MB / 0.6813 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.5867, allocations: 8 kB / 0.6813 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.5867, allocations: 7.984 kB / 0.6813 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007145/0.5874, allocations: 162.4 kB / 0.6815 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.5881, allocations: 155.8 kB / 0.6816 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009095/0.589, allocations: 0.7007 MB / 0.6823 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.5904, allocations: 168.8 kB / 0.6825 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/0.5905, allocations: 31.98 kB / 0.6825 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00115/0.5917, allocations: 0.5526 MB / 0.683 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008526/0.5926, allocations: 487.9 kB / 0.6835 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001373/0.5939, allocations: 0.712 MB / 0.6842 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.594, allocations: 0 / 0.6842 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004749/0.5987, allocations: 1.269 MB / 0.6854 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5987, allocations: 6.031 kB / 0.6854 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.5988, allocations: 4 kB / 0.6854 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006293/0.5994, allocations: 148.8 kB / 0.6856 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.6, allocations: 155.8 kB / 0.6857 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008271/0.6009, allocations: 0.717 MB / 0.6864 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.6022, allocations: 135.5 kB / 0.6866 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.6023, allocations: 35.98 kB / 0.6866 GB, free: 14.03 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.6026, allocations: 221 kB / 0.6868 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.6029, allocations: 138.4 kB / 0.6869 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.6075, allocations: 1.254 MB / 0.6882 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.6075, allocations: 11.98 kB / 0.6882 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6076, allocations: 0 / 0.6882 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003944/0.6115, allocations: 1.092 MB / 0.6892 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.6159, allocations: 2.302 MB / 0.6915 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.616, allocations: 4 kB / 0.6915 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/0.6165, allocations: 116.2 kB / 0.6916 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.6171, allocations: 148.7 kB / 0.6917 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.6171, allocations: 19.98 kB / 0.6918 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007836/0.6179, allocations: 0.7115 MB / 0.6924 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6179, allocations: 4 kB / 0.6925 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.6207, allocations: 1.391 MB / 0.6938 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/0.6214, allocations: 315.1 kB / 0.6941 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.6216, allocations: 23.92 kB / 0.6941 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/0.6225, allocations: 79.97 kB / 0.6942 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6227, allocations: 48.31 kB / 0.6943 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.6227, allocations: 31.98 kB / 0.6943 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001273/0.624, allocations: 0.8701 MB / 0.6951 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.624, allocations: 0 / 0.6951 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001976/0.626, allocations: 0.7096 MB / 0.6958 GB, free: 4.273 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/0.6273, allocations: 449.8 kB / 0.6963 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002752/0.6301, allocations: 1.114 MB / 0.6973 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6301, allocations: 3.938 kB / 0.6974 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009455/0.631, allocations: 398.3 kB / 0.6977 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/0.6348, allocations: 0.7567 MB / 0.6985 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.6393, allocations: 2.813 MB / 0.7012 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/0.6401, allocations: 1.172 MB / 0.7024 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.6406, allocations: 111.3 kB / 0.7025 GB, free: 13.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.864e-06/0.6406, allocations: 0 / 0.7025 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Templates: time 0.04466/0.6853, allocations: 30.95 MB / 0.7327 GB, free: 14.62 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)