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.001021/0.001021, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009863/0.0009863, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7385/0.7385, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004077, allocations: 8.812 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.5439, allocations: 81.58 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07073/0.6147, allocations: 69.45 MB / 0.651 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.6356, allocations: 14.15 MB / 0.6648 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.6391, allocations: 59.62 kB / 0.6648 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.6419, allocations: 0.5666 MB / 0.6654 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007704/0.6496, allocations: 1.984 MB / 0.6673 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.6538, allocations: 0.9714 MB / 0.6683 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008094/0.6619, allocations: 4.804 MB / 0.673 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.6645, allocations: 1.021 MB / 0.674 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.6682, allocations: 1.279 MB / 0.6752 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.6708, allocations: 1.077 MB / 0.6763 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.671, allocations: 56 kB / 0.6763 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.674, allocations: 0.9198 MB / 0.6772 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.6744, allocations: 274.9 kB / 0.6775 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006649/0.6751, allocations: 356.9 kB / 0.6778 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.678, allocations: 2.081 MB / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.678, allocations: 0 / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.678, allocations: 0 / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.751e-05/0.6781, allocations: 0 / 0.6799 GB, free: 13.3 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.003327/0.6814, allocations: 1.803 MB / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6815, allocations: 12.03 kB / 0.6816 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.6816, allocations: 147.9 kB / 0.6818 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007299/0.6824, allocations: 245.8 kB / 0.682 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.6847, allocations: 1.435 MB / 0.6834 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.6847, allocations: 81.98 kB / 0.6835 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.6849, allocations: 104 kB / 0.6836 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.6868, allocations: 1.112 MB / 0.6847 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.6868, allocations: 4 kB / 0.6847 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6869, allocations: 40 kB / 0.6847 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.687, allocations: 27.95 kB / 0.6847 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.6887, allocations: 0.9251 MB / 0.6856 GB, free: 7.207 MB / 0.5137 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.005976/0.6947, allocations: 4.919 MB / 0.6905 GB, free: 2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6961, allocations: 0.6322 MB / 0.6911 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/0.6968, allocations: 364.5 kB / 0.6914 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.6975, allocations: 0.8316 MB / 0.6922 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.6975, allocations: 43.11 kB / 0.6923 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.043e-06/0.6975, allocations: 4 kB / 0.6923 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006555/0.7041, allocations: 1.888 MB / 0.6941 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.7042, allocations: 59.97 kB / 0.6942 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.7059, allocations: 1.202 MB / 0.6954 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.7061, allocations: 41.7 kB / 0.6954 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.7066, allocations: 0.6142 MB / 0.696 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.7069, allocations: 205 kB / 0.6962 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.7069, allocations: 16 kB / 0.6962 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.707, allocations: 337.9 kB / 0.6965 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.7077, allocations: 297.8 kB / 0.6968 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.7084, allocations: 0.5022 MB / 0.6973 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.7091, allocations: 367 kB / 0.6976 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7091, allocations: 0 / 0.6976 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004194/0.7133, allocations: 1.394 MB / 0.699 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.7135, allocations: 202.2 kB / 0.6992 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.7135, allocations: 4 kB / 0.6992 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.7141, allocations: 144.7 kB / 0.6993 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.7147, allocations: 163.8 kB / 0.6995 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000778/0.7155, allocations: 0.7199 MB / 0.7002 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.7167, allocations: 167.1 kB / 0.7004 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.7168, allocations: 31.98 kB / 0.7004 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.7168, allocations: 4 kB / 0.7004 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003891/0.7207, allocations: 1.249 MB / 0.7016 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.7207, allocations: 7.953 kB / 0.7016 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.7212, allocations: 149 kB / 0.7018 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.7218, allocations: 163.8 kB / 0.7019 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007316/0.7225, allocations: 0.7124 MB / 0.7026 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.7237, allocations: 159.1 kB / 0.7028 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.7237, allocations: 35.97 kB / 0.7028 GB, free: 4.887 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006498/0.7244, allocations: 424.8 kB / 0.7032 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.7246, allocations: 130.4 kB / 0.7033 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/0.7287, allocations: 1.4 MB / 0.7047 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.7287, allocations: 11.94 kB / 0.7047 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7287, allocations: 0 / 0.7047 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003583/0.7323, allocations: 1.24 MB / 0.7059 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00602/0.7383, allocations: 2.735 MB / 0.7086 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7384, allocations: 4 kB / 0.7086 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.7388, allocations: 120.2 kB / 0.7087 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/0.7393, allocations: 136.8 kB / 0.7088 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.7393, allocations: 23.92 kB / 0.7089 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/0.7436, allocations: 2.478 MB / 0.7113 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7436, allocations: 4 kB / 0.7113 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/0.7484, allocations: 1.852 MB / 0.7131 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.7491, allocations: 327.2 kB / 0.7134 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.7494, allocations: 19.94 kB / 0.7134 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/0.7503, allocations: 99.91 kB / 0.7135 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.7505, allocations: 60.25 kB / 0.7136 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.7505, allocations: 27.98 kB / 0.7136 GB, free: 9.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001206/0.7517, allocations: 0.8623 MB / 0.7144 GB, free: 8.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7517, allocations: 0 / 0.7144 GB, free: 8.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001902/0.7537, allocations: 0.7095 MB / 0.7151 GB, free: 7.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/0.7591, allocations: 2.708 MB / 0.7178 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0024/0.7615, allocations: 1.16 MB / 0.7189 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.7615, allocations: 0 / 0.7189 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.7629, allocations: 0.6034 MB / 0.7195 GB, free: 3.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/0.7663, allocations: 0.7487 MB / 0.7202 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.7846, allocations: 8.358 MB / 0.7284 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008754/0.7855, allocations: 1.175 MB / 0.7296 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001517/0.787, allocations: 302.9 kB / 0.7298 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/0.7878, allocations: 0.511 MB / 0.7303 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of SimCode: time 1.412e-06/0.7878, allocations: 0 / 0.7303 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07221/0.8601, allocations: 42.12 MB / 0.7715 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.8603, allocations: 239.8 kB / 0.7717 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.524, allocations: 0 / 0.7717 GB, free: 13.98 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/linux/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) Environment - environmentSimulation: