Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001081/0.001081, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.009288/0.009288, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7993/0.7993, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004001, allocations: 8 kB / 0.504 GB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4569, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07585/0.5328, allocations: 73.47 MB / 0.6554 GB, free: 6.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.5619, allocations: 15.02 MB / 0.6701 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003415/0.5653, allocations: 59.62 kB / 0.6701 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.5684, allocations: 0.6721 MB / 0.6708 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009572/0.578, allocations: 2.383 MB / 0.6731 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005287/0.5833, allocations: 1.265 MB / 0.6744 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008432/0.5917, allocations: 5.553 MB / 0.6798 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.594, allocations: 1.163 MB / 0.6809 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/0.5979, allocations: 1.334 MB / 0.6822 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.6, allocations: 1.151 MB / 0.6833 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.6002, allocations: 56 kB / 0.6834 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.604, allocations: 1.239 MB / 0.6846 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.6044, allocations: 282.5 kB / 0.6849 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.6054, allocations: 0.7984 MB / 0.6857 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003916/0.6094, allocations: 2.718 MB / 0.6883 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6094, allocations: 0 / 0.6883 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6094, allocations: 0 / 0.6883 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.6094, allocations: 0 / 0.6883 GB, free: 4.934 MB / 0.5137 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.003513/0.613, allocations: 1.787 MB / 0.6901 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.613, allocations: 8.031 kB / 0.6901 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00079/0.6138, allocations: 242.8 kB / 0.6903 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.6163, allocations: 1.493 MB / 0.6918 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.6163, allocations: 77.98 kB / 0.6918 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.6165, allocations: 100 kB / 0.6919 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.6186, allocations: 1.128 MB / 0.693 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.6186, allocations: 0 / 0.693 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.6187, allocations: 40 kB / 0.6931 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.6188, allocations: 28 kB / 0.6931 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.6208, allocations: 0.929 MB / 0.694 GB, free: 14.95 MB / 0.5294 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.006422/0.6272, allocations: 4.915 MB / 0.6988 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.6287, allocations: 0.6361 MB / 0.6994 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.6294, allocations: 371.5 kB / 0.6998 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.6301, allocations: 0.8355 MB / 0.7006 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.6302, allocations: 39.12 kB / 0.7006 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.465e-06/0.6302, allocations: 0 / 0.7006 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007926/0.6381, allocations: 1.904 MB / 0.7025 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.6382, allocations: 59.97 kB / 0.7025 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.6402, allocations: 1.214 MB / 0.7037 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.6404, allocations: 37.7 kB / 0.7038 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.641, allocations: 0.6065 MB / 0.7044 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.6412, allocations: 216.9 kB / 0.7046 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6413, allocations: 61.69 kB / 0.7046 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6415, allocations: 333.9 kB / 0.7049 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.6423, allocations: 305.8 kB / 0.7052 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.6431, allocations: 0.5124 MB / 0.7057 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.6446, allocations: 0.7519 MB / 0.7065 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.6446, allocations: 3.938 kB / 0.7065 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005131/0.6498, allocations: 1.406 MB / 0.7078 GB, free: 68 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.65, allocations: 194 kB / 0.708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.65, allocations: 4 kB / 0.708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/0.6506, allocations: 148.7 kB / 0.7082 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.6513, allocations: 171.7 kB / 0.7083 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008876/0.6522, allocations: 0.7201 MB / 0.709 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6535, allocations: 167.1 kB / 0.7092 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.6536, allocations: 31.98 kB / 0.7092 GB, free: 14.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.6536, allocations: 4 kB / 0.7092 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004711/0.6583, allocations: 1.25 MB / 0.7105 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6583, allocations: 8.094 kB / 0.7105 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005232/0.6589, allocations: 152.7 kB / 0.7106 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.6595, allocations: 167.7 kB / 0.7108 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008378/0.6603, allocations: 0.7116 MB / 0.7115 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.6616, allocations: 163.1 kB / 0.7116 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.6618, allocations: 35.98 kB / 0.7117 GB, free: 12.05 MB / 0.545 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.0007433/0.6625, allocations: 417.5 kB / 0.712 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.6627, allocations: 134.4 kB / 0.7122 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004893/0.6676, allocations: 1.4 MB / 0.7135 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.6677, allocations: 8 kB / 0.7136 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.6677, allocations: 4 kB / 0.7136 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004367/0.6721, allocations: 1.232 MB / 0.7148 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/0.6788, allocations: 2.747 MB / 0.7174 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.6788, allocations: 4.062 kB / 0.7174 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.6793, allocations: 119.9 kB / 0.7176 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.6798, allocations: 136.4 kB / 0.7177 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.6799, allocations: 23.98 kB / 0.7177 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004843/0.6847, allocations: 2.486 MB / 0.7201 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6847, allocations: 11.88 kB / 0.7202 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.6903, allocations: 1.848 MB / 0.722 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/0.691, allocations: 335 kB / 0.7223 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6911, allocations: 16 kB / 0.7223 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/0.692, allocations: 95.81 kB / 0.7224 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6921, allocations: 64.23 kB / 0.7224 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.6922, allocations: 31.98 kB / 0.7225 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001268/0.6935, allocations: 0.8702 MB / 0.7233 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6935, allocations: 0 / 0.7233 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001863/0.6954, allocations: 0.7096 MB / 0.724 GB, free: 14.97 MB / 0.5606 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.0008512/0.6962, allocations: 453 kB / 0.7244 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.6989, allocations: 1.164 MB / 0.7256 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6989, allocations: 0 / 0.7256 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.7004, allocations: 0.6034 MB / 0.7262 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/0.7048, allocations: 0.7959 MB / 0.727 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.7093, allocations: 2.815 MB / 0.7297 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.7101, allocations: 1.176 MB / 0.7308 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001427/0.7115, allocations: 298.8 kB / 0.7311 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.7118, allocations: 115.3 kB / 0.7312 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of SimCode: time 1.382e-06/0.7118, allocations: 0 / 0.7312 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of Templates: time 0.0596/0.7714, allocations: 31.95 MB / 0.7624 GB, free: 7.938 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)