Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001066/0.001066, allocations: 193.2 kB / 17.34 MB, free: 5.707 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 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7263/0.7263, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.45 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06198/0.2159, allocations: 61.14 MB / 0.6918 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.2332, allocations: 12 MB / 0.7035 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.2356, allocations: 59.62 kB / 0.7035 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.2375, allocations: 0.6948 MB / 0.7042 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005295/0.2429, allocations: 2.074 MB / 0.7062 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.2461, allocations: 1.208 MB / 0.7074 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.2505, allocations: 3.091 MB / 0.7104 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.2525, allocations: 1.1 MB / 0.7115 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.2559, allocations: 1.364 MB / 0.7129 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.2578, allocations: 0.9004 MB / 0.7137 GB, free: 452 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003665/0.2582, allocations: 112 kB / 0.7138 GB, free: 340 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.2613, allocations: 1.439 MB / 0.7152 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.2617, allocations: 290.9 kB / 0.7155 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.263, allocations: 0.6919 MB / 0.7162 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00384/0.2669, allocations: 2.286 MB / 0.7184 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2669, allocations: 4 kB / 0.7184 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2669, allocations: 0 / 0.7184 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.326e-05/0.2669, allocations: 0 / 0.7184 GB, free: 11.61 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.003622/0.2706, allocations: 1.722 MB / 0.7201 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.2706, allocations: 16.03 kB / 0.7201 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.273, allocations: 402.9 kB / 0.7205 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.2754, allocations: 1.167 MB / 0.7217 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.2755, allocations: 66 kB / 0.7217 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.2756, allocations: 80 kB / 0.7218 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.2778, allocations: 0.9991 MB / 0.7228 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.2778, allocations: 7.938 kB / 0.7228 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.156e-05/0.2779, allocations: 32 kB / 0.7228 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.2779, allocations: 16 kB / 0.7228 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.2803, allocations: 0.8547 MB / 0.7237 GB, free: 6.09 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.006927/0.2872, allocations: 5.227 MB / 0.7288 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/0.2907, allocations: 0.7879 MB / 0.7295 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/0.2915, allocations: 302.4 kB / 0.7298 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/0.2922, allocations: 0.9025 MB / 0.7307 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2923, allocations: 34.56 kB / 0.7307 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/0.2923, allocations: 3.938 kB / 0.7307 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00855/0.3008, allocations: 1.856 MB / 0.7325 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3009, allocations: 55.41 kB / 0.7326 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.3029, allocations: 1.072 MB / 0.7336 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.303, allocations: 41.7 kB / 0.7337 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/0.3035, allocations: 0.5311 MB / 0.7342 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3036, allocations: 153.8 kB / 0.7344 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.3038, allocations: 134.2 kB / 0.7345 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.304, allocations: 330 kB / 0.7348 GB, free: 10 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/0.3049, allocations: 307.3 kB / 0.7351 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3061, allocations: 0.5346 MB / 0.7356 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.3079, allocations: 0.7136 MB / 0.7363 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.3079, allocations: 4 kB / 0.7363 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002961/0.3108, allocations: 1.012 MB / 0.7373 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3109, allocations: 8 kB / 0.7373 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3109, allocations: 7.984 kB / 0.7373 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.3123, allocations: 307.2 kB / 0.7376 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.3128, allocations: 127.8 kB / 0.7377 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.3143, allocations: 0.9034 MB / 0.7386 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3156, allocations: 155.2 kB / 0.7388 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.3157, allocations: 31.98 kB / 0.7388 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001251/0.3169, allocations: 0.5085 MB / 0.7393 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/0.3181, allocations: 0.5346 MB / 0.7398 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001728/0.3198, allocations: 0.7022 MB / 0.7405 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.857e-06/0.3198, allocations: 7.984 kB / 0.7405 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002844/0.3227, allocations: 1 MB / 0.7415 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3227, allocations: 16 kB / 0.7415 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3227, allocations: 4 kB / 0.7415 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.3239, allocations: 292.6 kB / 0.7418 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.3244, allocations: 131.8 kB / 0.7419 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.3259, allocations: 0.8983 MB / 0.7428 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3271, allocations: 135.5 kB / 0.7429 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.3272, allocations: 27.98 kB / 0.7429 GB, free: 1.238 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 (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.0002456/0.3275, allocations: 229.5 kB / 0.7432 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.3277, allocations: 106.7 kB / 0.7433 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3449/0.6726, allocations: 1.076 MB / 0.7443 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/0.6727, allocations: 11.41 kB / 0.7443 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6727, allocations: 4.406 kB / 0.7443 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.6728, allocations: 6.609 kB / 0.7443 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.6786, allocations: 2.142 MB / 0.7464 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.6787, allocations: 6.156 kB / 0.7464 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.679, allocations: 62.56 kB / 0.7465 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.68, allocations: 288.5 kB / 0.7468 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.6801, allocations: 15.94 kB / 0.7468 GB, free: 108.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.6814, allocations: 0.9306 MB / 0.7477 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6814, allocations: 6.5 kB / 0.7477 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.6852, allocations: 1.148 MB / 0.7488 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/0.6857, allocations: 258.5 kB / 0.7491 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.6858, allocations: 17.69 kB / 0.7491 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/0.6867, allocations: 71.11 kB / 0.7491 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6868, allocations: 36.5 kB / 0.7492 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.6869, allocations: 27.86 kB / 0.7492 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001259/0.6881, allocations: 0.752 MB / 0.7499 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6881, allocations: 0 / 0.7499 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001719/0.6899, allocations: 0.5688 MB / 0.7505 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 (33): * Single equations (assignments): 28 * 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.0008804/0.6908, allocations: 384.8 kB / 0.7509 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003338/0.6941, allocations: 1.126 MB / 0.752 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6941, allocations: 7.656 kB / 0.752 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008597/0.695, allocations: 343.1 kB / 0.7523 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.002318/0.6973, allocations: 0.5084 MB / 0.7528 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.7025, allocations: 1.989 MB / 0.7547 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.7033, allocations: 1.071 MB / 0.7558 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001019/0.7043, allocations: 223.8 kB / 0.756 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.7045, allocations: 78.09 kB / 0.7561 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.7045, allocations: 5.062 kB / 0.7561 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03873/0.7432, allocations: 25.1 MB / 0.7806 GB, free: 88.61 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)