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.001559/0.001559, allocations: 116.3 kB / 17.09 MB, free: 5.992 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.001649/0.001649, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.412/1.412, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.743/0.743, allocations: 115.3 MB / 407.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001286, allocations: 66.08 kB / 0.5584 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1921, allocations: 76.19 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06022/0.2524, allocations: 61.2 MB / 0.6925 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.2748, allocations: 12.01 MB / 0.7043 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/0.2784, allocations: 55.69 kB / 0.7043 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.2815, allocations: 0.683 MB / 0.705 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.2901, allocations: 1.967 MB / 0.7069 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00484/0.295, allocations: 1.221 MB / 0.7081 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007043/0.302, allocations: 3.099 MB / 0.7111 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/0.3051, allocations: 1.112 MB / 0.7122 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/0.3094, allocations: 1.374 MB / 0.7135 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.3115, allocations: 0.8983 MB / 0.7144 GB, free: 448 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.312, allocations: 116 kB / 0.7145 GB, free: 332 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003796/0.3158, allocations: 1.447 MB / 0.7159 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005773/0.3164, allocations: 298.8 kB / 0.7162 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.3179, allocations: 0.6959 MB / 0.7169 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.3232, allocations: 2.302 MB / 0.7192 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3233, allocations: 3.938 kB / 0.7192 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3233, allocations: 0 / 0.7192 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.328e-05/0.3234, allocations: 0 / 0.7192 GB, free: 11.57 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.005041/0.3284, allocations: 1.748 MB / 0.7209 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.3285, allocations: 8.031 kB / 0.7209 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.3309, allocations: 414.8 kB / 0.7213 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.3339, allocations: 1.168 MB / 0.7224 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.334, allocations: 62 kB / 0.7225 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.3342, allocations: 84 kB / 0.7226 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.3366, allocations: 1.021 MB / 0.7235 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.3367, allocations: 3.938 kB / 0.7236 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3368, allocations: 36 kB / 0.7236 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3368, allocations: 19.94 kB / 0.7236 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.3393, allocations: 0.8898 MB / 0.7245 GB, free: 5.953 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.00827/0.3476, allocations: 5.243 MB / 0.7296 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/0.3511, allocations: 0.7881 MB / 0.7304 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007674/0.3519, allocations: 308.6 kB / 0.7307 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/0.3526, allocations: 0.9025 MB / 0.7315 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.3527, allocations: 46.44 kB / 0.7316 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.085e-06/0.3527, allocations: 0 / 0.7316 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008594/0.3613, allocations: 1.891 MB / 0.7334 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3614, allocations: 55.41 kB / 0.7335 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.3634, allocations: 1.084 MB / 0.7345 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.3635, allocations: 33.7 kB / 0.7346 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/0.3641, allocations: 0.5428 MB / 0.7351 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3643, allocations: 157.7 kB / 0.7353 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.3646, allocations: 134.2 kB / 0.7354 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3647, allocations: 334 kB / 0.7357 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.3657, allocations: 319.2 kB / 0.736 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.3669, allocations: 0.5541 MB / 0.7365 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.3687, allocations: 0.7388 MB / 0.7373 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3688, allocations: 3.938 kB / 0.7373 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003963/0.3727, allocations: 1.18 MB / 0.7384 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.3728, allocations: 8 kB / 0.7384 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3728, allocations: 4 kB / 0.7384 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.3741, allocations: 308.7 kB / 0.7387 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.3747, allocations: 135.7 kB / 0.7389 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3761, allocations: 0.8958 MB / 0.7397 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.3776, allocations: 167.1 kB / 0.7399 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.3777, allocations: 31.98 kB / 0.7399 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001343/0.3791, allocations: 0.5207 MB / 0.7404 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001114/0.3802, allocations: 0.5502 MB / 0.741 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001768/0.382, allocations: 0.7337 MB / 0.7417 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/0.382, allocations: 0 / 0.7417 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003821/0.3858, allocations: 1.153 MB / 0.7428 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.3858, allocations: 10.19 kB / 0.7428 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.3859, allocations: 8 kB / 0.7428 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.387, allocations: 299.1 kB / 0.7431 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.3876, allocations: 135.8 kB / 0.7432 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3891, allocations: 0.8995 MB / 0.7441 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.3905, allocations: 139.6 kB / 0.7443 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.3906, allocations: 31.98 kB / 0.7443 GB, free: 0.5547 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.0002786/0.3909, allocations: 220.1 kB / 0.7445 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.3913, allocations: 122.5 kB / 0.7446 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4083/0.7996, allocations: 1.118 MB / 0.7457 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.7996, allocations: 6.672 kB / 0.7457 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.7997, allocations: 1.266 kB / 0.7457 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7997, allocations: 4.312 kB / 0.7457 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.8057, allocations: 2.204 MB / 0.7479 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.8057, allocations: 2.156 kB / 0.7479 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.8061, allocations: 73.36 kB / 0.7479 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.8071, allocations: 293.1 kB / 0.7482 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.8071, allocations: 17.25 kB / 0.7482 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.8085, allocations: 0.9198 MB / 0.7491 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8085, allocations: 10.47 kB / 0.7491 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/0.8125, allocations: 1.196 MB / 0.7503 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/0.8131, allocations: 267 kB / 0.7506 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.8133, allocations: 16.14 kB / 0.7506 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/0.8141, allocations: 77 kB / 0.7507 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.8142, allocations: 43.69 kB / 0.7507 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/0.8143, allocations: 21.77 kB / 0.7507 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00126/0.8155, allocations: 0.7586 MB / 0.7515 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8156, allocations: 1.125 kB / 0.7515 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00179/0.8174, allocations: 0.5769 MB / 0.752 GB, free: 107.1 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.0007712/0.8181, allocations: 380.6 kB / 0.7524 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003289/0.8214, allocations: 1.167 MB / 0.7535 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8214, allocations: 0 / 0.7535 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009453/0.8224, allocations: 371.3 kB / 0.7539 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.8248, allocations: 0.5133 MB / 0.7544 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.8306, allocations: 2.066 MB / 0.7564 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.8313, allocations: 1.069 MB / 0.7574 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.8316, allocations: 87.61 kB / 0.7575 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.8316, allocations: 0 / 0.7575 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03253/0.8641, allocations: 24.56 MB / 0.7815 GB, free: 88.25 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)