Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00148/0.00148, allocations: 189.7 kB / 16.25 MB, free: 6.645 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9204/0.9204, allocations: 135.6 MB / 425.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002105, allocations: 68.08 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1588, allocations: 81.02 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.2849/0.4438, allocations: 74.56 MB / 0.6573 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.4608, allocations: 15.03 MB / 0.672 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.4632, allocations: 59.28 kB / 0.672 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.4652, allocations: 0.7209 MB / 0.6727 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006937/0.4722, allocations: 2.412 MB / 0.6751 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.476, allocations: 1.289 MB / 0.6764 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007399/0.4834, allocations: 4.419 MB / 0.6807 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/0.4861, allocations: 1.437 MB / 0.6821 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.4907, allocations: 1.654 MB / 0.6837 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.493, allocations: 1.259 MB / 0.6849 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.4933, allocations: 161.5 kB / 0.6851 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.4966, allocations: 1.429 MB / 0.6865 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004889/0.4971, allocations: 409.8 kB / 0.6869 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.4983, allocations: 0.9094 MB / 0.6877 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004565/0.5029, allocations: 2.877 MB / 0.6906 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5029, allocations: 0 / 0.6906 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5029, allocations: 0 / 0.6906 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.936e-05/0.503, allocations: 0 / 0.6906 GB, free: 2.809 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.004305/0.5073, allocations: 2.094 MB / 0.6926 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5073, allocations: 9.438 kB / 0.6926 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.5082, allocations: 232.6 kB / 0.6928 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.5109, allocations: 1.496 MB / 0.6943 GB, free: 436 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.511, allocations: 80.75 kB / 0.6944 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.5112, allocations: 105.2 kB / 0.6945 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.5134, allocations: 1.1 MB / 0.6955 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.5134, allocations: 1.375 kB / 0.6955 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.5135, allocations: 42.56 kB / 0.6956 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.5136, allocations: 27.88 kB / 0.6956 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.5155, allocations: 0.8972 MB / 0.6965 GB, free: 15.52 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.00679/0.5223, allocations: 4.915 MB / 0.7013 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.5237, allocations: 0.6137 MB / 0.7019 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007227/0.5245, allocations: 349.3 kB / 0.7022 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007578/0.5252, allocations: 0.8309 MB / 0.703 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.5253, allocations: 42.03 kB / 0.7031 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.535e-06/0.5253, allocations: 1.312 kB / 0.7031 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004999/0.5303, allocations: 1.404 MB / 0.7044 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.5304, allocations: 61.72 kB / 0.7045 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.5321, allocations: 1.216 MB / 0.7057 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.661e-05/0.5322, allocations: 39.14 kB / 0.7057 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/0.5328, allocations: 0.6037 MB / 0.7063 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.533, allocations: 216 kB / 0.7065 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.5333, allocations: 159 kB / 0.7067 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5335, allocations: 338.9 kB / 0.707 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.5341, allocations: 289.3 kB / 0.7073 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008783/0.535, allocations: 0.4883 MB / 0.7077 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.5364, allocations: 0.7078 MB / 0.7084 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5364, allocations: 1.344 kB / 0.7084 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004636/0.5411, allocations: 1.257 MB / 0.7097 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5411, allocations: 6.688 kB / 0.7097 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5411, allocations: 11.77 kB / 0.7097 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007105/0.5418, allocations: 157.9 kB / 0.7098 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.5425, allocations: 155 kB / 0.71 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009192/0.5434, allocations: 0.7143 MB / 0.7107 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5448, allocations: 164.5 kB / 0.7108 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/0.5448, allocations: 34.95 kB / 0.7109 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001232/0.5461, allocations: 0.5547 MB / 0.7114 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008658/0.547, allocations: 490.3 kB / 0.7119 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001409/0.5484, allocations: 0.7061 MB / 0.7126 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.5484, allocations: 1.562 kB / 0.7126 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004694/0.5531, allocations: 1.268 MB / 0.7138 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5531, allocations: 6.812 kB / 0.7138 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5531, allocations: 3.344 kB / 0.7138 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/0.5538, allocations: 158.4 kB / 0.714 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.5544, allocations: 151.3 kB / 0.7141 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008805/0.5553, allocations: 0.7209 MB / 0.7148 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.5567, allocations: 137.3 kB / 0.715 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.5568, allocations: 31.36 kB / 0.715 GB, free: 3.848 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.5571, allocations: 224.5 kB / 0.7152 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.5575, allocations: 136.5 kB / 0.7153 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/0.562, allocations: 1.261 MB / 0.7166 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.562, allocations: 12.55 kB / 0.7166 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5621, allocations: 0 / 0.7166 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003926/0.566, allocations: 1.09 MB / 0.7176 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.5708, allocations: 2.295 MB / 0.7199 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.5708, allocations: 6.281 kB / 0.7199 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.5713, allocations: 119.5 kB / 0.72 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005745/0.5718, allocations: 143.5 kB / 0.7201 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.5719, allocations: 24.08 kB / 0.7202 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/0.5728, allocations: 0.7062 MB / 0.7208 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5728, allocations: 4 kB / 0.7208 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.5758, allocations: 1.399 MB / 0.7222 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/0.5766, allocations: 307.2 kB / 0.7225 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.5768, allocations: 24 kB / 0.7225 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/0.5778, allocations: 83.81 kB / 0.7226 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.5779, allocations: 48.31 kB / 0.7227 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.578, allocations: 35.97 kB / 0.7227 GB, free: 13.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001589/0.5796, allocations: 0.8739 MB / 0.7235 GB, free: 12.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5796, allocations: 4 kB / 0.7235 GB, free: 12.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002674/0.5823, allocations: 0.7057 MB / 0.7242 GB, free: 12.28 MB / 0.545 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.5836, allocations: 461.5 kB / 0.7247 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003057/0.5866, allocations: 1.161 MB / 0.7258 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5867, allocations: 4.125 kB / 0.7258 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.5876, allocations: 387.2 kB / 0.7262 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/0.5912, allocations: 0.8085 MB / 0.727 GB, free: 9.551 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.5958, allocations: 2.771 MB / 0.7297 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/0.5967, allocations: 1.168 MB / 0.7308 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001385/0.5981, allocations: 309.8 kB / 0.7311 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.5983, allocations: 107.4 kB / 0.7312 GB, free: 5.098 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.5983, allocations: 0 / 0.7312 GB, free: 5.098 MB / 0.545 GB Notification: Performance of Templates: time 0.05496/0.6533, allocations: 31.44 MB / 0.7619 GB, free: 6.016 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)