Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 114.4 kB / 17.08 MB, free: 6 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.001289/0.001289, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.354/1.354, allocations: 222.9 MB / 241.7 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.7137/0.7137, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.77 kB / 0.5584 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.169, allocations: 76.17 MB / 0.6328 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06322/0.2323, allocations: 61.21 MB / 0.6925 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.2506, allocations: 12.02 MB / 0.7043 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.2542, allocations: 55.69 kB / 0.7043 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002565/0.2568, allocations: 0.6791 MB / 0.705 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.2632, allocations: 1.967 MB / 0.7069 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.2668, allocations: 1.215 MB / 0.7081 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004996/0.2719, allocations: 3.106 MB / 0.7111 GB, free: 3.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.274, allocations: 1.12 MB / 0.7122 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.278, allocations: 1.368 MB / 0.7136 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.28, allocations: 0.8983 MB / 0.7144 GB, free: 452 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004611/0.2805, allocations: 116 kB / 0.7145 GB, free: 336 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.2841, allocations: 1.435 MB / 0.7159 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005731/0.2847, allocations: 298.8 kB / 0.7162 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.2863, allocations: 0.6997 MB / 0.7169 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.2911, allocations: 2.302 MB / 0.7192 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2911, allocations: 0 / 0.7192 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.488e-06/0.2911, allocations: 0 / 0.7192 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.571e-05/0.2912, allocations: 3.938 kB / 0.7192 GB, free: 11.58 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004323/0.2955, allocations: 1.754 MB / 0.7209 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2956, allocations: 8.031 kB / 0.7209 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/0.2979, allocations: 410.8 kB / 0.7213 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.3007, allocations: 1.164 MB / 0.7224 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.809e-05/0.3007, allocations: 66 kB / 0.7225 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.3009, allocations: 80 kB / 0.7225 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3033, allocations: 1.025 MB / 0.7235 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3033, allocations: 0 / 0.7235 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/0.3034, allocations: 32 kB / 0.7236 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3034, allocations: 20 kB / 0.7236 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.306, allocations: 0.8859 MB / 0.7245 GB, free: 5.973 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.007296/0.3133, allocations: 5.239 MB / 0.7296 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.3167, allocations: 0.7887 MB / 0.7303 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/0.3175, allocations: 322.7 kB / 0.7307 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006844/0.3182, allocations: 0.9025 MB / 0.7315 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.3183, allocations: 46.48 kB / 0.7316 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/0.3183, allocations: 0 / 0.7316 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00846/0.3268, allocations: 1.891 MB / 0.7334 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3268, allocations: 59.41 kB / 0.7335 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.3288, allocations: 1.088 MB / 0.7345 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.3289, allocations: 33.7 kB / 0.7346 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.3294, allocations: 0.535 MB / 0.7351 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3296, allocations: 153.8 kB / 0.7352 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.3298, allocations: 138.2 kB / 0.7354 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.33, allocations: 322 kB / 0.7357 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009596/0.3309, allocations: 339.2 kB / 0.736 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.3321, allocations: 0.5463 MB / 0.7365 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.3339, allocations: 0.7387 MB / 0.7373 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.3339, allocations: 8 kB / 0.7373 GB, free: 8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003838/0.3378, allocations: 1.176 MB / 0.7384 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3378, allocations: 7.938 kB / 0.7384 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3378, allocations: 8 kB / 0.7384 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.339, allocations: 304.7 kB / 0.7387 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.3396, allocations: 143.7 kB / 0.7389 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.3411, allocations: 0.8984 MB / 0.7397 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3425, allocations: 159.2 kB / 0.7399 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.3426, allocations: 27.98 kB / 0.7399 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001298/0.3439, allocations: 0.5285 MB / 0.7404 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001143/0.345, allocations: 0.5502 MB / 0.741 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001777/0.3468, allocations: 0.7337 MB / 0.7417 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.09e-05/0.3468, allocations: 4 kB / 0.7417 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003708/0.3506, allocations: 1.157 MB / 0.7428 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3506, allocations: 8 kB / 0.7428 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3506, allocations: 4 kB / 0.7428 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3517, allocations: 296.8 kB / 0.7431 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.3523, allocations: 135.8 kB / 0.7432 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3537, allocations: 0.8995 MB / 0.7441 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3551, allocations: 139.6 kB / 0.7443 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/0.3552, allocations: 28 kB / 0.7443 GB, free: 0.5625 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002663/0.3555, allocations: 228.1 kB / 0.7445 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.3558, allocations: 114.5 kB / 0.7446 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3893/0.7451, allocations: 1.113 MB / 0.7457 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.7452, allocations: 6.109 kB / 0.7457 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7452, allocations: 2.312 kB / 0.7457 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.7452, allocations: 2.625 kB / 0.7457 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/0.7514, allocations: 2.207 MB / 0.7479 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.7515, allocations: 7.625 kB / 0.7479 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.7518, allocations: 66.86 kB / 0.7479 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.7529, allocations: 288.4 kB / 0.7482 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.753, allocations: 16.92 kB / 0.7482 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.7544, allocations: 0.9232 MB / 0.7491 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.7545, allocations: 6.078 kB / 0.7491 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/0.7588, allocations: 1.204 MB / 0.7503 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.7593, allocations: 268.5 kB / 0.7506 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.7595, allocations: 13.25 kB / 0.7506 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/0.7604, allocations: 77.77 kB / 0.7507 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7605, allocations: 40.61 kB / 0.7507 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.7605, allocations: 24.98 kB / 0.7507 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001379/0.7619, allocations: 0.7575 MB / 0.7515 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7619, allocations: 0 / 0.7515 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002102/0.764, allocations: 0.5743 MB / 0.752 GB, free: 107.4 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.0009517/0.765, allocations: 389.6 kB / 0.7524 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003353/0.7684, allocations: 1.164 MB / 0.7535 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7684, allocations: 4 kB / 0.7535 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009898/0.7694, allocations: 368.7 kB / 0.7539 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.7718, allocations: 0.507 MB / 0.7544 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.7777, allocations: 2.067 MB / 0.7564 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.7784, allocations: 1.069 MB / 0.7574 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.7787, allocations: 84.88 kB / 0.7575 GB, free: 105 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.7787, allocations: 0 / 0.7575 GB, free: 105 MB / 0.5762 GB Notification: Performance of Templates: time 0.03756/0.8163, allocations: 24.41 MB / 0.7814 GB, free: 88.78 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)