Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 103.6 kB / 16.41 MB, free: 6.512 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.002026/0.002025, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.397/1.397, allocations: 222.9 MB / 241 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.8201/0.8201, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.8 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1661, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0688/0.2349, allocations: 75.2 MB / 0.7388 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4099/0.6449, allocations: 15.12 MB / 0.7535 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.6476, allocations: 65.59 kB / 0.7536 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.6501, allocations: 0.8386 MB / 0.7544 GB, free: 25.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008128/0.6582, allocations: 2.582 MB / 0.7569 GB, free: 25.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.6621, allocations: 1.384 MB / 0.7583 GB, free: 25.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0075/0.6696, allocations: 4.394 MB / 0.7626 GB, free: 25.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002885/0.6725, allocations: 1.453 MB / 0.764 GB, free: 25.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004836/0.6774, allocations: 1.673 MB / 0.7656 GB, free: 25.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002794/0.6802, allocations: 1.217 MB / 0.7668 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.6806, allocations: 161.9 kB / 0.767 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.6848, allocations: 1.408 MB / 0.7683 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005196/0.6854, allocations: 401.3 kB / 0.7687 GB, free: 25.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.6868, allocations: 0.9043 MB / 0.7696 GB, free: 25.06 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005177/0.692, allocations: 2.875 MB / 0.7724 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.692, allocations: 0 / 0.7724 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.692, allocations: 3.938 kB / 0.7724 GB, free: 24.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.651e-05/0.6921, allocations: 1.375 kB / 0.7724 GB, free: 24.71 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004684/0.6968, allocations: 2.083 MB / 0.7745 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6968, allocations: 10.92 kB / 0.7745 GB, free: 23.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009318/0.6978, allocations: 233.7 kB / 0.7747 GB, free: 23.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.7004, allocations: 1.518 MB / 0.7762 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.7005, allocations: 82.56 kB / 0.7763 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.7007, allocations: 99.41 kB / 0.7763 GB, free: 23.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.7029, allocations: 1.097 MB / 0.7774 GB, free: 23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.7029, allocations: 5 kB / 0.7774 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.703, allocations: 43.03 kB / 0.7775 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.7031, allocations: 31.25 kB / 0.7775 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.705, allocations: 0.8887 MB / 0.7784 GB, free: 22.98 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.005909/0.7109, allocations: 4.909 MB / 0.7832 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7124, allocations: 0.6148 MB / 0.7838 GB, free: 19.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.7131, allocations: 347.8 kB / 0.7841 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004851/0.7136, allocations: 0.8292 MB / 0.7849 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.7136, allocations: 45.88 kB / 0.7849 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.7136, allocations: 0 / 0.7849 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007249/0.7209, allocations: 1.693 MB / 0.7866 GB, free: 18.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.7209, allocations: 59.84 kB / 0.7867 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.7226, allocations: 1.23 MB / 0.7879 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.7228, allocations: 39.36 kB / 0.7879 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.7232, allocations: 0.6073 MB / 0.7885 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.7234, allocations: 216.5 kB / 0.7887 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.7236, allocations: 156.4 kB / 0.7888 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.7237, allocations: 332.7 kB / 0.7892 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.7243, allocations: 291.5 kB / 0.7894 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/0.7251, allocations: 499.8 kB / 0.7899 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.7265, allocations: 0.7091 MB / 0.7906 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7265, allocations: 5.312 kB / 0.7906 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004541/0.731, allocations: 1.268 MB / 0.7919 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.7311, allocations: 9.891 kB / 0.7919 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7311, allocations: 4.5 kB / 0.7919 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.7317, allocations: 139.9 kB / 0.792 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.7323, allocations: 157.6 kB / 0.7921 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007102/0.733, allocations: 0.7007 MB / 0.7928 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.7343, allocations: 123.1 kB / 0.7929 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.7344, allocations: 34.14 kB / 0.793 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001085/0.7355, allocations: 0.5481 MB / 0.7935 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007177/0.7362, allocations: 0.4901 MB / 0.794 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001196/0.7374, allocations: 0.7029 MB / 0.7947 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/0.7374, allocations: 3.906 kB / 0.7947 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004418/0.7418, allocations: 1.27 MB / 0.7959 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7419, allocations: 8.25 kB / 0.7959 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.7419, allocations: 6.562 kB / 0.7959 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.7423, allocations: 139.6 kB / 0.7961 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.7429, allocations: 156.2 kB / 0.7962 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006513/0.7436, allocations: 0.6993 MB / 0.7969 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.7449, allocations: 107.5 kB / 0.797 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.745, allocations: 27.44 kB / 0.797 GB, free: 11.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002544/0.7452, allocations: 235.6 kB / 0.7973 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.7455, allocations: 145.3 kB / 0.7974 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004445/0.7499, allocations: 1.264 MB / 0.7986 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.7499, allocations: 6.469 kB / 0.7986 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.75, allocations: 0.5938 kB / 0.7986 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003849/0.7538, allocations: 1.105 MB / 0.7997 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/0.7604, allocations: 2.606 MB / 0.8023 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7604, allocations: 5.562 kB / 0.8023 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.7609, allocations: 113.7 kB / 0.8024 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.7614, allocations: 133.3 kB / 0.8025 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.7614, allocations: 20.66 kB / 0.8025 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/0.7659, allocations: 2.634 MB / 0.8051 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.7659, allocations: 6.906 kB / 0.8051 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005218/0.7712, allocations: 1.695 MB / 0.8068 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/0.772, allocations: 307.5 kB / 0.8071 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.7723, allocations: 20.23 kB / 0.8071 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.7731, allocations: 52.91 kB / 0.8071 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.7732, allocations: 60.84 kB / 0.8072 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.7733, allocations: 38.72 kB / 0.8072 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001156/0.7745, allocations: 0.8819 MB / 0.8081 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7745, allocations: 0 / 0.8081 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002048/0.7765, allocations: 0.7198 MB / 0.8088 GB, free: 3.789 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008955/0.7774, allocations: 470.2 kB / 0.8092 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.7798, allocations: 1.122 MB / 0.8103 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7798, allocations: 4.188 kB / 0.8103 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.7811, allocations: 0.5641 MB / 0.8109 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.7844, allocations: 0.8002 MB / 0.8117 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.7881, allocations: 2.307 MB / 0.8139 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/0.7889, allocations: 1.172 MB / 0.8151 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.7893, allocations: 107.4 kB / 0.8152 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.7893, allocations: 0 / 0.8152 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.04235/0.8316, allocations: 31.52 MB / 0.8459 GB, free: 13.88 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)