Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 114.3 kB / 17.08 MB, free: 5.969 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.001733/0.001734, allocations: 200.2 kB / 18.02 MB, free: 5.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.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 115.3 MB / 407.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.31 kB / 0.5584 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1739, allocations: 76.19 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06083/0.2348, allocations: 61.15 MB / 0.6925 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.2529, allocations: 12.01 MB / 0.7042 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.2559, allocations: 59.62 kB / 0.7043 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.2581, allocations: 0.6752 MB / 0.7049 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006715/0.2648, allocations: 1.965 MB / 0.7068 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.2687, allocations: 1.205 MB / 0.708 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006025/0.2747, allocations: 3.095 MB / 0.711 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.2772, allocations: 1.096 MB / 0.7121 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.2813, allocations: 1.357 MB / 0.7134 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.284, allocations: 0.9023 MB / 0.7143 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005517/0.2845, allocations: 112 kB / 0.7144 GB, free: 424 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.2888, allocations: 1.454 MB / 0.7158 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006524/0.2894, allocations: 290.9 kB / 0.7161 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.2914, allocations: 0.6919 MB / 0.7168 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0058/0.2972, allocations: 2.302 MB / 0.719 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2972, allocations: 0 / 0.719 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.406e-06/0.2972, allocations: 0 / 0.719 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.341e-05/0.2973, allocations: 0 / 0.719 GB, free: 11.67 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004777/0.3021, allocations: 1.734 MB / 0.7207 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3021, allocations: 12.03 kB / 0.7207 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.3046, allocations: 406.8 kB / 0.7211 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.3075, allocations: 1.17 MB / 0.7223 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.3076, allocations: 61.94 kB / 0.7223 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.3078, allocations: 84 kB / 0.7224 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.3102, allocations: 0.9976 MB / 0.7234 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.3103, allocations: 3.938 kB / 0.7234 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.3104, allocations: 35.94 kB / 0.7234 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3104, allocations: 24 kB / 0.7235 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.3129, allocations: 0.8586 MB / 0.7243 GB, free: 6.121 MB / 0.5606 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.008232/0.3212, allocations: 5.236 MB / 0.7294 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.3246, allocations: 0.7961 MB / 0.7302 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/0.3254, allocations: 292.7 kB / 0.7305 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007598/0.3262, allocations: 0.9064 MB / 0.7313 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.3262, allocations: 38.56 kB / 0.7314 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.434e-06/0.3262, allocations: 0 / 0.7314 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008521/0.3347, allocations: 1.867 MB / 0.7332 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3348, allocations: 55.41 kB / 0.7333 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.337, allocations: 1.076 MB / 0.7343 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.3371, allocations: 37.7 kB / 0.7343 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005015/0.3376, allocations: 0.5233 MB / 0.7349 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.3378, allocations: 157.8 kB / 0.735 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.3381, allocations: 138.2 kB / 0.7351 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3382, allocations: 326 kB / 0.7355 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.3392, allocations: 311.3 kB / 0.7357 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.3403, allocations: 0.5251 MB / 0.7363 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.3421, allocations: 0.7145 MB / 0.737 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3421, allocations: 4 kB / 0.737 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003895/0.346, allocations: 1.141 MB / 0.7381 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.346, allocations: 4 kB / 0.7381 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.3461, allocations: 8 kB / 0.7381 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.3474, allocations: 320.6 kB / 0.7384 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.348, allocations: 127.8 kB / 0.7385 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3496, allocations: 0.9035 MB / 0.7394 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.351, allocations: 155.2 kB / 0.7395 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.3511, allocations: 35.98 kB / 0.7396 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001339/0.3524, allocations: 0.509 MB / 0.7401 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/0.3535, allocations: 0.5273 MB / 0.7406 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001701/0.3553, allocations: 0.7056 MB / 0.7413 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.103e-06/0.3553, allocations: 3.938 kB / 0.7413 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003726/0.359, allocations: 1.121 MB / 0.7424 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.359, allocations: 8 kB / 0.7424 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3591, allocations: 4 kB / 0.7424 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3602, allocations: 300.7 kB / 0.7427 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.3608, allocations: 135.8 kB / 0.7428 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.3623, allocations: 0.8995 MB / 0.7437 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.3636, allocations: 127.6 kB / 0.7438 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.3637, allocations: 31.98 kB / 0.7438 GB, free: 1.004 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002865/0.364, allocations: 220.1 kB / 0.744 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.3644, allocations: 122.5 kB / 0.7442 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3977/0.7621, allocations: 1.096 MB / 0.7452 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.7622, allocations: 7.031 kB / 0.7452 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.7622, allocations: 3 kB / 0.7452 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.7622, allocations: 3.703 kB / 0.7452 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006101/0.7683, allocations: 2.175 MB / 0.7474 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7683, allocations: 3.938 kB / 0.7474 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.7686, allocations: 61.14 kB / 0.7474 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.7698, allocations: 310.2 kB / 0.7477 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.7698, allocations: 12.97 kB / 0.7477 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.7712, allocations: 0.9244 MB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7712, allocations: 4.875 kB / 0.7486 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/0.7752, allocations: 1.173 MB / 0.7498 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/0.7758, allocations: 263.4 kB / 0.75 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.776, allocations: 12.44 kB / 0.7501 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008318/0.7768, allocations: 71.67 kB / 0.7501 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7769, allocations: 41.25 kB / 0.7502 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.777, allocations: 23.81 kB / 0.7502 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001407/0.7784, allocations: 0.7559 MB / 0.7509 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7784, allocations: 0 / 0.7509 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002006/0.7804, allocations: 0.571 MB / 0.7515 GB, free: 107.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009403/0.7814, allocations: 385.2 kB / 0.7519 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.7847, allocations: 1.129 MB / 0.753 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.7847, allocations: 0 / 0.753 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008886/0.7856, allocations: 349.4 kB / 0.7533 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.7882, allocations: 0.5114 MB / 0.7538 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/0.794, allocations: 2.047 MB / 0.7558 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008694/0.7949, allocations: 1.066 MB / 0.7568 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.7952, allocations: 89.27 kB / 0.7569 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7952, allocations: 0 / 0.7569 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03388/0.8291, allocations: 24.31 MB / 0.7806 GB, free: 89.17 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)