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.001295/0.001295, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7624/0.7624, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 66.86 kB / 0.5018 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3887, allocations: 80.2 MB / 0.5801 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07273/0.4615, allocations: 75.21 MB / 0.6535 GB, free: 6.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.4812, allocations: 15.13 MB / 0.6683 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.4842, allocations: 67.62 kB / 0.6684 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002145/0.4864, allocations: 0.8344 MB / 0.6692 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006836/0.4933, allocations: 2.574 MB / 0.6717 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.4969, allocations: 1.384 MB / 0.6731 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005109/0.5021, allocations: 4.383 MB / 0.6773 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.504, allocations: 1.453 MB / 0.6788 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.5074, allocations: 1.635 MB / 0.6804 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.5091, allocations: 1.21 MB / 0.6815 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.5094, allocations: 164 kB / 0.6817 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.5124, allocations: 1.404 MB / 0.6831 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.5128, allocations: 398.6 kB / 0.6834 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.5139, allocations: 0.8983 MB / 0.6843 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003595/0.5175, allocations: 2.84 MB / 0.6871 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5175, allocations: 0 / 0.6871 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5175, allocations: 0 / 0.6871 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.5175, allocations: 4 kB / 0.6871 GB, free: 3.633 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.00346/0.521, allocations: 2.087 MB / 0.6891 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5211, allocations: 8.031 kB / 0.6891 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/0.5219, allocations: 230.8 kB / 0.6894 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.524, allocations: 1.454 MB / 0.6908 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.5241, allocations: 78 kB / 0.6909 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.5243, allocations: 100 kB / 0.691 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.5261, allocations: 1.096 MB / 0.692 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.5261, allocations: 3.984 kB / 0.692 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.91e-05/0.5262, allocations: 44 kB / 0.6921 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.5263, allocations: 32 kB / 0.6921 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.528, allocations: 0.89 MB / 0.693 GB, free: 13.46 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.005419/0.5335, allocations: 4.946 MB / 0.6978 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.5349, allocations: 0.6141 MB / 0.6984 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.5355, allocations: 350.3 kB / 0.6987 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/0.5361, allocations: 0.8199 MB / 0.6995 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5362, allocations: 43.06 kB / 0.6996 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.024e-06/0.5362, allocations: 0 / 0.6996 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006994/0.5432, allocations: 1.693 MB / 0.7012 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.5432, allocations: 59.97 kB / 0.7013 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.5447, allocations: 1.23 MB / 0.7025 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.5448, allocations: 45.64 kB / 0.7025 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.5453, allocations: 0.6104 MB / 0.7031 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.5454, allocations: 216.9 kB / 0.7033 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.5457, allocations: 150.6 kB / 0.7035 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5458, allocations: 345.8 kB / 0.7038 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.5464, allocations: 284.7 kB / 0.7041 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.5472, allocations: 0.489 MB / 0.7046 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.5486, allocations: 0.7129 MB / 0.7052 GB, free: 196 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5486, allocations: 4 kB / 0.7053 GB, free: 192 kB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004657/0.5533, allocations: 1.265 MB / 0.7065 GB, free: 14.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5533, allocations: 8.031 kB / 0.7065 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5533, allocations: 7.984 kB / 0.7065 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005399/0.5539, allocations: 136.8 kB / 0.7066 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.5545, allocations: 159.7 kB / 0.7068 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008237/0.5553, allocations: 0.7044 MB / 0.7075 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000924/0.5562, allocations: 124.8 kB / 0.7076 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.5563, allocations: 31.98 kB / 0.7076 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001009/0.5573, allocations: 0.5526 MB / 0.7082 GB, free: 13.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008073/0.5581, allocations: 0.489 MB / 0.7086 GB, free: 12.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00135/0.5595, allocations: 0.705 MB / 0.7093 GB, free: 11.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.5595, allocations: 0 / 0.7093 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004614/0.5641, allocations: 1.265 MB / 0.7106 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5642, allocations: 10.09 kB / 0.7106 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5642, allocations: 7.938 kB / 0.7106 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.5646, allocations: 148.6 kB / 0.7107 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.5652, allocations: 155.8 kB / 0.7109 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000758/0.566, allocations: 0.703 MB / 0.7116 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/0.5669, allocations: 103.5 kB / 0.7117 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.567, allocations: 31.98 kB / 0.7117 GB, free: 9.383 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.0002145/0.5672, allocations: 228.7 kB / 0.7119 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.5675, allocations: 134.4 kB / 0.712 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.5721, allocations: 1.267 MB / 0.7133 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.5721, allocations: 11.94 kB / 0.7133 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5721, allocations: 0 / 0.7133 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004073/0.5762, allocations: 1.099 MB / 0.7144 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/0.5827, allocations: 2.622 MB / 0.7169 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5828, allocations: 4.031 kB / 0.7169 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.5833, allocations: 115.8 kB / 0.717 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.5837, allocations: 124.8 kB / 0.7172 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.5838, allocations: 19.98 kB / 0.7172 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/0.5889, allocations: 2.63 MB / 0.7197 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.5889, allocations: 7.938 kB / 0.7197 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005434/0.5944, allocations: 1.703 MB / 0.7214 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006289/0.595, allocations: 311.2 kB / 0.7217 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.5953, allocations: 12 kB / 0.7217 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/0.5962, allocations: 55.97 kB / 0.7218 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.5964, allocations: 68.23 kB / 0.7218 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.5964, allocations: 27.98 kB / 0.7219 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001338/0.5978, allocations: 0.8818 MB / 0.7227 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5978, allocations: 0 / 0.7227 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001899/0.5997, allocations: 0.7174 MB / 0.7234 GB, free: 12.95 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.000886/0.6006, allocations: 472.8 kB / 0.7239 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002748/0.6034, allocations: 1.148 MB / 0.725 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6034, allocations: 0 / 0.725 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.6049, allocations: 0.5689 MB / 0.7256 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/0.6083, allocations: 0.8062 MB / 0.7263 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.6122, allocations: 2.304 MB / 0.7286 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.6129, allocations: 1.183 MB / 0.7297 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001211/0.6141, allocations: 309.7 kB / 0.73 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.6144, allocations: 107.4 kB / 0.7301 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.6144, allocations: 0 / 0.7301 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of Templates: time 0.04967/0.6641, allocations: 32.22 MB / 0.7616 GB, free: 6.203 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)