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.001226/0.001227, allocations: 100.9 kB / 16.4 MB, free: 6.457 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.001308/0.001309, allocations: 196 kB / 17.34 MB, free: 5.719 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6654/0.6654, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 66.03 kB / 0.5577 GB, free: 32.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1339, allocations: 76.19 MB / 0.6321 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05198/0.1859, allocations: 61.22 MB / 0.6919 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.2025, allocations: 12 MB / 0.7036 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002409/0.2049, allocations: 55.69 kB / 0.7037 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.2069, allocations: 0.683 MB / 0.7043 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.2124, allocations: 1.966 MB / 0.7062 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.2154, allocations: 1.213 MB / 0.7074 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.2193, allocations: 3.106 MB / 0.7105 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.2207, allocations: 1.112 MB / 0.7115 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.2236, allocations: 1.364 MB / 0.7129 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.2249, allocations: 0.9022 MB / 0.7138 GB, free: 348 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.225, allocations: 116 kB / 0.7139 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.2276, allocations: 1.443 MB / 0.7153 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.2278, allocations: 302.6 kB / 0.7156 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006218/0.2285, allocations: 0.6998 MB / 0.7163 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.2314, allocations: 2.302 MB / 0.7185 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2314, allocations: 0 / 0.7185 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2314, allocations: 7.938 kB / 0.7185 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.2314, allocations: 0 / 0.7185 GB, free: 11.46 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.002695/0.2341, allocations: 1.746 MB / 0.7202 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2341, allocations: 8.031 kB / 0.7202 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.2362, allocations: 406.9 kB / 0.7206 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.2381, allocations: 1.175 MB / 0.7218 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.2382, allocations: 62 kB / 0.7218 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2383, allocations: 80 kB / 0.7219 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.2402, allocations: 1.023 MB / 0.7229 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.2403, allocations: 0 / 0.7229 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.2404, allocations: 36 kB / 0.7229 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.2404, allocations: 20 kB / 0.7229 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.2426, allocations: 0.8897 MB / 0.7238 GB, free: 5.855 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.005949/0.2486, allocations: 5.239 MB / 0.7289 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/0.2518, allocations: 0.7856 MB / 0.7297 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.2525, allocations: 316.6 kB / 0.73 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005996/0.2531, allocations: 0.8986 MB / 0.7309 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.2532, allocations: 46.42 kB / 0.7309 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.2532, allocations: 0 / 0.7309 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008115/0.2613, allocations: 1.891 MB / 0.7328 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2614, allocations: 59.41 kB / 0.7328 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.2628, allocations: 1.076 MB / 0.7339 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.2629, allocations: 37.7 kB / 0.7339 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.2633, allocations: 0.5428 MB / 0.7344 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.2634, allocations: 153.8 kB / 0.7346 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.2636, allocations: 138.2 kB / 0.7347 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2638, allocations: 326 kB / 0.735 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.2646, allocations: 327.2 kB / 0.7353 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2657, allocations: 0.5464 MB / 0.7359 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.2674, allocations: 0.7465 MB / 0.7366 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2674, allocations: 4 kB / 0.7366 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003466/0.2708, allocations: 1.188 MB / 0.7378 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.2709, allocations: 11.94 kB / 0.7378 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2709, allocations: 4 kB / 0.7378 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.272, allocations: 300.7 kB / 0.7381 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.2726, allocations: 139.7 kB / 0.7382 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.2739, allocations: 0.8981 MB / 0.7391 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.275, allocations: 159.2 kB / 0.7392 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.2751, allocations: 31.98 kB / 0.7393 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001183/0.2763, allocations: 0.5285 MB / 0.7398 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/0.2773, allocations: 0.5463 MB / 0.7403 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001624/0.279, allocations: 0.7416 MB / 0.741 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.279, allocations: 0 / 0.741 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003281/0.2823, allocations: 1.145 MB / 0.7422 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2823, allocations: 11.98 kB / 0.7422 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2823, allocations: 4 kB / 0.7422 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.2833, allocations: 292.7 kB / 0.7424 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.2839, allocations: 135.8 kB / 0.7426 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.2851, allocations: 0.9053 MB / 0.7435 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.2863, allocations: 139.6 kB / 0.7436 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.2864, allocations: 31.98 kB / 0.7436 GB, free: 468 kB / 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.000218/0.2866, allocations: 216.7 kB / 0.7438 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.2868, allocations: 126.6 kB / 0.744 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.285/0.5719, allocations: 1.112 MB / 0.745 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5719, allocations: 7.938 kB / 0.745 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5719, allocations: 0 / 0.745 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.5719, allocations: 3.719 kB / 0.7451 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.5772, allocations: 2.205 MB / 0.7472 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5772, allocations: 2.938 kB / 0.7472 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.5775, allocations: 66.91 kB / 0.7473 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/0.5784, allocations: 292.2 kB / 0.7475 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.5785, allocations: 16.58 kB / 0.7476 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.5797, allocations: 0.9224 MB / 0.7485 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.5797, allocations: 4.938 kB / 0.7485 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/0.5833, allocations: 1.21 MB / 0.7497 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.5837, allocations: 269.6 kB / 0.7499 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.5839, allocations: 8.5 kB / 0.7499 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008065/0.5847, allocations: 78.19 kB / 0.75 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.5848, allocations: 41.44 kB / 0.75 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.5849, allocations: 23.27 kB / 0.7501 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001085/0.5859, allocations: 0.7542 MB / 0.7508 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.1e-07/0.586, allocations: 2.062 kB / 0.7508 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001495/0.5875, allocations: 0.5725 MB / 0.7514 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.0006582/0.5881, allocations: 389.8 kB / 0.7517 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002975/0.5911, allocations: 1.17 MB / 0.7529 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5911, allocations: 0.8906 kB / 0.7529 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008854/0.592, allocations: 370.8 kB / 0.7532 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.002049/0.5941, allocations: 0.5167 MB / 0.7537 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/0.5991, allocations: 2.022 MB / 0.7557 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.5996, allocations: 1.072 MB / 0.7567 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007937/0.6004, allocations: 229.6 kB / 0.757 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.6006, allocations: 76.17 kB / 0.757 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.6006, allocations: 4 kB / 0.757 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03275/0.6334, allocations: 25.39 MB / 0.7818 GB, free: 87.32 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)