Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005464/0.005464, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001258/0.001258, allocations: 197.5 kB / 16.68 MB, free: 5.93 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8122/0.8122, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 59.03 kB / 0.5856 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1738, allocations: 80.93 MB / 0.6646 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06218/0.236, allocations: 61.17 MB / 0.7244 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.2545, allocations: 11.98 MB / 0.7361 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.2573, allocations: 59.62 kB / 0.7361 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.2599, allocations: 0.6908 MB / 0.7368 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006541/0.2666, allocations: 2.064 MB / 0.7388 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.27, allocations: 1.22 MB / 0.74 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005138/0.2752, allocations: 3.083 MB / 0.743 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.2772, allocations: 1.108 MB / 0.7441 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0035/0.2807, allocations: 1.371 MB / 0.7454 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.2824, allocations: 0.8828 MB / 0.7463 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003573/0.2828, allocations: 116 kB / 0.7464 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.286, allocations: 1.447 MB / 0.7478 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.2865, allocations: 290.9 kB / 0.7481 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4261/0.7126, allocations: 0.6848 MB / 0.7488 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005015/0.7176, allocations: 2.298 MB / 0.751 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7177, allocations: 0 / 0.751 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7177, allocations: 0 / 0.751 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.105e-05/0.7177, allocations: 1.312 kB / 0.751 GB, free: 23.2 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.00362/0.7214, allocations: 1.727 MB / 0.7527 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.7214, allocations: 11.34 kB / 0.7527 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.7236, allocations: 409.3 kB / 0.7531 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.726, allocations: 1.166 MB / 0.7542 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.7261, allocations: 63.69 kB / 0.7543 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.7262, allocations: 80.97 kB / 0.7544 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.7284, allocations: 0.9978 MB / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.7285, allocations: 0 / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.7286, allocations: 32.34 kB / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.7286, allocations: 22.06 kB / 0.7554 GB, free: 21.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.7309, allocations: 0.8568 MB / 0.7562 GB, free: 21.69 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.006975/0.7379, allocations: 5.216 MB / 0.7613 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.7414, allocations: 0.785 MB / 0.7621 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/0.7422, allocations: 296.8 kB / 0.7624 GB, free: 18.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/0.7427, allocations: 0.9029 MB / 0.7633 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.7427, allocations: 40.19 kB / 0.7633 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.095e-06/0.7427, allocations: 0 / 0.7633 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008291/0.751, allocations: 1.856 MB / 0.7651 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.7511, allocations: 62.88 kB / 0.7652 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.753, allocations: 1.073 MB / 0.7662 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-05/0.7531, allocations: 37.48 kB / 0.7663 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.7535, allocations: 0.5265 MB / 0.7668 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.7536, allocations: 160 kB / 0.7669 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.7539, allocations: 137.6 kB / 0.7671 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.754, allocations: 328.7 kB / 0.7674 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008102/0.7548, allocations: 304.2 kB / 0.7677 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7558, allocations: 0.5364 MB / 0.7682 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.7574, allocations: 0.7163 MB / 0.7689 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.7574, allocations: 1.188 kB / 0.7689 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002746/0.7601, allocations: 1.016 MB / 0.7699 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.7602, allocations: 7.781 kB / 0.7699 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.7602, allocations: 4.344 kB / 0.7699 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.7614, allocations: 309.7 kB / 0.7702 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.762, allocations: 122.6 kB / 0.7703 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.7632, allocations: 0.8974 MB / 0.7712 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.7646, allocations: 155.9 kB / 0.7713 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.7647, allocations: 29.75 kB / 0.7714 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001268/0.7659, allocations: 0.5103 MB / 0.7719 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009096/0.7669, allocations: 0.5308 MB / 0.7724 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001392/0.7683, allocations: 0.7128 MB / 0.7731 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.07e-06/0.7683, allocations: 0.9062 kB / 0.7731 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002532/0.7708, allocations: 1.007 MB / 0.7741 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7708, allocations: 8.688 kB / 0.7741 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7709, allocations: 4.406 kB / 0.7741 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.7719, allocations: 301.2 kB / 0.7744 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.7724, allocations: 132.7 kB / 0.7745 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.7736, allocations: 0.8955 MB / 0.7754 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.775, allocations: 132.9 kB / 0.7755 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.7751, allocations: 34.12 kB / 0.7755 GB, free: 13.85 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.0002544/0.7754, allocations: 221 kB / 0.7757 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.7757, allocations: 112.2 kB / 0.7758 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.7792, allocations: 1.086 MB / 0.7769 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.7792, allocations: 7.5 kB / 0.7769 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.7792, allocations: 3.031 kB / 0.7769 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.7792, allocations: 6.609 kB / 0.7769 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/0.7846, allocations: 2.146 MB / 0.779 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.7846, allocations: 2.656 kB / 0.779 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.7849, allocations: 63.67 kB / 0.7791 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.786, allocations: 294.8 kB / 0.7793 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.7861, allocations: 16.75 kB / 0.7794 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.7874, allocations: 0.9231 MB / 0.7803 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.7874, allocations: 5.188 kB / 0.7803 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.7912, allocations: 1.146 MB / 0.7814 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009094/0.7921, allocations: 269.7 kB / 0.7816 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/0.7926, allocations: 12.31 kB / 0.7817 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7938, allocations: 71.98 kB / 0.7817 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7939, allocations: 33.62 kB / 0.7818 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.794, allocations: 25.95 kB / 0.7818 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001619/0.7956, allocations: 0.7578 MB / 0.7825 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7956, allocations: 0 / 0.7825 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00333/0.799, allocations: 0.5693 MB / 0.7831 GB, free: 11.86 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.001649/0.8006, allocations: 377.7 kB / 0.7834 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003837/0.8045, allocations: 1.128 MB / 0.7845 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.8045, allocations: 2.625 kB / 0.7845 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8055, allocations: 344.4 kB / 0.7849 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/0.8086, allocations: 0.5072 MB / 0.7854 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.814, allocations: 2.008 MB / 0.7873 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.8146, allocations: 1.068 MB / 0.7884 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001004/0.8157, allocations: 219.2 kB / 0.7886 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.8159, allocations: 78.09 kB / 0.7887 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.8159, allocations: 0 / 0.7887 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of Templates: time 0.04019/0.8561, allocations: 25.11 MB / 0.8132 GB, free: 10.34 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)