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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007831/0.000783, allocations: 98.27 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.006645/0.006645, allocations: 170.6 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.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7721/0.7721, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 15.98 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4323, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07297/0.5053, allocations: 73.48 MB / 0.6555 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.5268, allocations: 15.01 MB / 0.6702 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.5295, allocations: 55.62 kB / 0.6702 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.5319, allocations: 0.6682 MB / 0.6709 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007298/0.5393, allocations: 2.386 MB / 0.6732 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.5427, allocations: 1.272 MB / 0.6744 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006894/0.5496, allocations: 5.553 MB / 0.6799 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.5518, allocations: 1.171 MB / 0.681 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.5548, allocations: 1.318 MB / 0.6823 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.557, allocations: 1.147 MB / 0.6834 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004247/0.5574, allocations: 56 kB / 0.6835 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.5611, allocations: 1.247 MB / 0.6847 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004756/0.5616, allocations: 290.6 kB / 0.685 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.5629, allocations: 0.7944 MB / 0.6857 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/0.5667, allocations: 2.714 MB / 0.6884 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5667, allocations: 0 / 0.6884 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5667, allocations: 4 kB / 0.6884 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.5667, allocations: 0 / 0.6884 GB, free: 4.945 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.003465/0.5702, allocations: 1.784 MB / 0.6901 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5703, allocations: 8.031 kB / 0.6901 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.5705, allocations: 148.1 kB / 0.6903 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/0.5713, allocations: 242.8 kB / 0.6905 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.5737, allocations: 1.493 MB / 0.692 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.5738, allocations: 81.94 kB / 0.692 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.5739, allocations: 100 kB / 0.6921 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.576, allocations: 1.124 MB / 0.6932 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.5761, allocations: 4 kB / 0.6932 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-05/0.5761, allocations: 36 kB / 0.6933 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.5762, allocations: 24 kB / 0.6933 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.5782, allocations: 0.9329 MB / 0.6942 GB, free: 14.82 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.006451/0.5846, allocations: 4.915 MB / 0.699 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.5861, allocations: 0.6361 MB / 0.6996 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/0.5868, allocations: 375 kB / 0.7 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/0.5874, allocations: 0.8355 MB / 0.7008 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.5875, allocations: 43.06 kB / 0.7008 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.084e-06/0.5875, allocations: 0 / 0.7008 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007547/0.5951, allocations: 1.9 MB / 0.7027 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.5951, allocations: 55.97 kB / 0.7028 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.5968, allocations: 1.214 MB / 0.7039 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.5969, allocations: 45.7 kB / 0.704 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.5974, allocations: 0.5987 MB / 0.7046 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.5977, allocations: 220.9 kB / 0.7048 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.5978, allocations: 61.69 kB / 0.7048 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5979, allocations: 337.9 kB / 0.7052 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007027/0.5986, allocations: 305.8 kB / 0.7055 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008429/0.5995, allocations: 0.5139 MB / 0.706 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.6009, allocations: 0.7558 MB / 0.7067 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6009, allocations: 0 / 0.7067 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005115/0.6061, allocations: 1.398 MB / 0.7081 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.6062, allocations: 206.2 kB / 0.7083 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6062, allocations: 4 kB / 0.7083 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.6068, allocations: 148.7 kB / 0.7084 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.6075, allocations: 159.8 kB / 0.7086 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008763/0.6084, allocations: 0.724 MB / 0.7093 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.6096, allocations: 162.4 kB / 0.7094 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.6097, allocations: 31.98 kB / 0.7094 GB, free: 14.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.6097, allocations: 10.19 kB / 0.7095 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004633/0.6144, allocations: 1.253 MB / 0.7107 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6144, allocations: 4 kB / 0.7107 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.6149, allocations: 149 kB / 0.7108 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/0.6155, allocations: 163.8 kB / 0.711 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007964/0.6163, allocations: 0.7124 MB / 0.7117 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.6175, allocations: 159.1 kB / 0.7118 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.6175, allocations: 35.98 kB / 0.7119 GB, free: 11.92 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.0006587/0.6182, allocations: 425.5 kB / 0.7123 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.6184, allocations: 130.4 kB / 0.7124 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/0.6233, allocations: 1.408 MB / 0.7138 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.6233, allocations: 8 kB / 0.7138 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6233, allocations: 0 / 0.7138 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004415/0.6277, allocations: 1.244 MB / 0.715 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006847/0.6346, allocations: 2.731 MB / 0.7177 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6346, allocations: 4 kB / 0.7177 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.6351, allocations: 120.3 kB / 0.7178 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004981/0.6356, allocations: 136.7 kB / 0.7179 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.6357, allocations: 27.98 kB / 0.7179 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004897/0.6406, allocations: 2.49 MB / 0.7204 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6406, allocations: 4.062 kB / 0.7204 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/0.6464, allocations: 1.848 MB / 0.7222 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008311/0.6473, allocations: 335.1 kB / 0.7225 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.6474, allocations: 16.06 kB / 0.7225 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009067/0.6483, allocations: 95.75 kB / 0.7226 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.6485, allocations: 60.23 kB / 0.7227 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.924e-05/0.6486, allocations: 35.98 kB / 0.7227 GB, free: 436 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001323/0.6499, allocations: 0.8701 MB / 0.7235 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6499, allocations: 96 / 0.7235 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002173/0.6521, allocations: 0.7135 MB / 0.7242 GB, free: 14.84 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.006877/0.659, allocations: 2.737 MB / 0.7269 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002852/0.6618, allocations: 1.168 MB / 0.7281 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6619, allocations: 192 / 0.7281 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.6634, allocations: 0.5993 MB / 0.7286 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/0.668, allocations: 0.7918 MB / 0.7294 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/0.6935, allocations: 11.2 MB / 0.7403 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006977/0.6943, allocations: 1.183 MB / 0.7415 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001313/0.6956, allocations: 310 kB / 0.7418 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007096/0.6963, allocations: 0.5227 MB / 0.7423 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.6963, allocations: 0 / 0.7423 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06554/0.7619, allocations: 42.5 MB / 0.7838 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.7621, allocations: 256.6 kB / 0.7841 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.569, allocations: 0 / 0.7841 GB, free: 1.496 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)