Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.009989/0.009989, allocations: 101 kB / 15.73 MB, free: 6.055 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.002108/0.002108, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.581/1.581, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8386/0.8386, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 65.86 kB / 0.5813 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.166, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.08186/0.2479, allocations: 61.17 MB / 0.7194 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01768/0.2657, allocations: 11.98 MB / 0.7311 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.2683, allocations: 55.69 kB / 0.7312 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002326/0.2707, allocations: 0.6947 MB / 0.7318 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006254/0.277, allocations: 2.07 MB / 0.7339 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.2806, allocations: 1.207 MB / 0.735 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004199/0.2849, allocations: 3.079 MB / 0.738 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.2866, allocations: 1.104 MB / 0.7391 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.2904, allocations: 1.371 MB / 0.7405 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.2927, allocations: 0.8867 MB / 0.7413 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004412/0.2932, allocations: 116 kB / 0.7414 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.2965, allocations: 1.443 MB / 0.7428 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004615/0.297, allocations: 294.8 kB / 0.7431 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.2983, allocations: 0.688 MB / 0.7438 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.3025, allocations: 2.302 MB / 0.746 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.3026, allocations: 0 / 0.746 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3026, allocations: 0 / 0.746 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.311e-05/0.3026, allocations: 3.938 kB / 0.746 GB, free: 1.5 MB / 0.5762 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.3344/0.637, allocations: 1.728 MB / 0.7477 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6371, allocations: 9.688 kB / 0.7477 GB, free: 86.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.6395, allocations: 411.8 kB / 0.7481 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002378/0.6419, allocations: 1.155 MB / 0.7493 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/0.642, allocations: 66.66 kB / 0.7493 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.6421, allocations: 80.16 kB / 0.7494 GB, free: 86.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.6442, allocations: 1.005 MB / 0.7504 GB, free: 85.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.6443, allocations: 6.609 kB / 0.7504 GB, free: 85.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.6443, allocations: 31.31 kB / 0.7504 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.6444, allocations: 19.56 kB / 0.7504 GB, free: 85.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.6467, allocations: 0.8605 MB / 0.7513 GB, free: 85.38 MB / 0.5762 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.006879/0.6535, allocations: 5.206 MB / 0.7564 GB, free: 81.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.657, allocations: 0.7926 MB / 0.7571 GB, free: 81.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007884/0.6578, allocations: 293.1 kB / 0.7574 GB, free: 81.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000522/0.6583, allocations: 0.9002 MB / 0.7583 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.6584, allocations: 43.66 kB / 0.7583 GB, free: 80 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/0.6584, allocations: 0.75 kB / 0.7583 GB, free: 80 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008395/0.6668, allocations: 1.849 MB / 0.7601 GB, free: 79.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.6668, allocations: 56.5 kB / 0.7602 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.6688, allocations: 1.077 MB / 0.7612 GB, free: 79.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/0.6689, allocations: 38.42 kB / 0.7613 GB, free: 79.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.6692, allocations: 0.5312 MB / 0.7618 GB, free: 78.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.938e-05/0.6693, allocations: 143.9 kB / 0.7619 GB, free: 78.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.6695, allocations: 143.5 kB / 0.7621 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/0.6696, allocations: 330.4 kB / 0.7624 GB, free: 78.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00083/0.6704, allocations: 310.3 kB / 0.7627 GB, free: 78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009943/0.6714, allocations: 0.5329 MB / 0.7632 GB, free: 77.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.673, allocations: 0.7216 MB / 0.7639 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.673, allocations: 1.312 kB / 0.7639 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002494/0.6755, allocations: 1.01 MB / 0.7649 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6755, allocations: 7.484 kB / 0.7649 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6755, allocations: 5.5 kB / 0.7649 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.6767, allocations: 313.6 kB / 0.7652 GB, free: 76.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/0.6773, allocations: 128.6 kB / 0.7653 GB, free: 76.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.6785, allocations: 0.8963 MB / 0.7662 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6797, allocations: 153.6 kB / 0.7664 GB, free: 76.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.6797, allocations: 35.83 kB / 0.7664 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001081/0.6808, allocations: 0.5066 MB / 0.7669 GB, free: 75.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009214/0.6818, allocations: 0.5306 MB / 0.7674 GB, free: 75.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001581/0.6834, allocations: 0.7084 MB / 0.7681 GB, free: 75.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.368e-06/0.6834, allocations: 2.281 kB / 0.7681 GB, free: 75.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002381/0.6858, allocations: 1.007 MB / 0.7691 GB, free: 74.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6858, allocations: 11.53 kB / 0.7691 GB, free: 74.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6858, allocations: 8.375 kB / 0.7691 GB, free: 74.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009656/0.6868, allocations: 298.1 kB / 0.7694 GB, free: 74.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.6873, allocations: 130.1 kB / 0.7695 GB, free: 74.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.6884, allocations: 0.8942 MB / 0.7704 GB, free: 73.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6896, allocations: 133.5 kB / 0.7705 GB, free: 73.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.6896, allocations: 30.95 kB / 0.7705 GB, free: 73.77 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.0002111/0.6899, allocations: 226 kB / 0.7708 GB, free: 73.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.69, allocations: 107.4 kB / 0.7709 GB, free: 73.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.6934, allocations: 1.087 MB / 0.7719 GB, free: 72.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.6934, allocations: 5.156 kB / 0.7719 GB, free: 72.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6934, allocations: 1.938 kB / 0.7719 GB, free: 72.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.6935, allocations: 3.984 kB / 0.7719 GB, free: 72.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.698, allocations: 2.152 MB / 0.774 GB, free: 71.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.6981, allocations: 6.234 kB / 0.774 GB, free: 71.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.6983, allocations: 66.42 kB / 0.7741 GB, free: 71.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009102/0.6993, allocations: 294.4 kB / 0.7744 GB, free: 71.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.6993, allocations: 14.34 kB / 0.7744 GB, free: 71.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.7005, allocations: 0.9332 MB / 0.7753 GB, free: 70.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7005, allocations: 3.219 kB / 0.7753 GB, free: 70.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.7037, allocations: 1.146 MB / 0.7764 GB, free: 69.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004487/0.7041, allocations: 257 kB / 0.7767 GB, free: 69.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.7043, allocations: 12.12 kB / 0.7767 GB, free: 69.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.705, allocations: 74.41 kB / 0.7768 GB, free: 69.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.7051, allocations: 43.94 kB / 0.7768 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.7052, allocations: 23.11 kB / 0.7768 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001103/0.7063, allocations: 0.7485 MB / 0.7776 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7063, allocations: 0 / 0.7776 GB, free: 69.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001851/0.7082, allocations: 0.5711 MB / 0.7781 GB, free: 69 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.001255/0.7094, allocations: 395 kB / 0.7785 GB, free: 68.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003422/0.7129, allocations: 1.118 MB / 0.7796 GB, free: 68.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7129, allocations: 1.125 kB / 0.7796 GB, free: 68.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007794/0.7137, allocations: 352 kB / 0.7799 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.7157, allocations: 0.5082 MB / 0.7804 GB, free: 67.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.7203, allocations: 2.005 MB / 0.7824 GB, free: 66.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.7207, allocations: 1.062 MB / 0.7834 GB, free: 65.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007317/0.7215, allocations: 228.8 kB / 0.7836 GB, free: 65.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.7216, allocations: 78.64 kB / 0.7837 GB, free: 65.72 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.7216, allocations: 0 / 0.7837 GB, free: 65.72 MB / 0.5762 GB Notification: Performance of Templates: time 0.03446/0.7561, allocations: 25.1 MB / 0.8082 GB, free: 41.89 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)