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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.001539/0.001539, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00193/0.00193, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.702/2.702, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.711/1.711, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 16 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3014, allocations: 82.32 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.6532/0.9547, allocations: 62.98 MB / 0.6488 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02836/0.9831, allocations: 12.96 MB / 0.6614 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004795/0.988, allocations: 54.28 kB / 0.6615 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004777/0.9929, allocations: 0.7479 MB / 0.6622 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01388/1.007, allocations: 2.394 MB / 0.6646 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00776/1.015, allocations: 1.533 MB / 0.6661 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008953/1.024, allocations: 2.506 MB / 0.6685 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004498/1.028, allocations: 1.05 MB / 0.6695 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007344/1.036, allocations: 1.165 MB / 0.6707 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004278/1.04, allocations: 0.7946 MB / 0.6714 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007056/1.041, allocations: 54.75 kB / 0.6715 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007452/1.048, allocations: 0.8549 MB / 0.6723 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/1.05, allocations: 262.1 kB / 0.6726 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001992/1.052, allocations: 355.7 kB / 0.6729 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009094/1.061, allocations: 2.032 MB / 0.6749 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.061, allocations: 1.688 kB / 0.6749 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.087e-06/1.061, allocations: 0 / 0.6749 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001367/1.061, allocations: 0 / 0.6749 GB, free: 15.93 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.009613/1.071, allocations: 1.792 MB / 0.6767 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 9.927e-05/1.071, allocations: 10.03 kB / 0.6767 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001071/1.072, allocations: 150.6 kB / 0.6768 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/1.074, allocations: 240.9 kB / 0.677 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00641/1.081, allocations: 1.382 MB / 0.6784 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/1.081, allocations: 81.17 kB / 0.6785 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/1.081, allocations: 100.7 kB / 0.6786 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004462/1.086, allocations: 1.111 MB / 0.6797 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/1.086, allocations: 3.906 kB / 0.6797 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/1.086, allocations: 45.81 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/1.086, allocations: 30.3 kB / 0.6797 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/1.089, allocations: 0.9247 MB / 0.6806 GB, free: 12.82 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.01411/1.103, allocations: 4.96 MB / 0.6855 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/1.106, allocations: 0.6574 MB / 0.6861 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.108, allocations: 0.8217 MB / 0.6869 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.914e-05/1.108, allocations: 47.08 kB / 0.687 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 5.07e-06/1.108, allocations: 0.9688 kB / 0.687 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.009541/1.117, allocations: 1.508 MB / 0.6884 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/1.117, allocations: 59.41 kB / 0.6885 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/1.122, allocations: 1.26 MB / 0.6897 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/1.122, allocations: 38.95 kB / 0.6898 GB, free: 7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.124, allocations: 0.6064 MB / 0.6904 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000619/1.124, allocations: 217.8 kB / 0.6906 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/1.124, allocations: 14.72 kB / 0.6906 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002508/1.125, allocations: 333.7 kB / 0.6909 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/1.126, allocations: 295.1 kB / 0.6912 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/1.128, allocations: 0.4974 MB / 0.6917 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/1.129, allocations: 364.7 kB / 0.692 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/1.129, allocations: 7.891 kB / 0.692 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009006/1.138, allocations: 1.386 MB / 0.6934 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001152/1.14, allocations: 1.339 MB / 0.6947 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.14, allocations: 3.562 kB / 0.6947 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/1.141, allocations: 156 kB / 0.6948 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.142, allocations: 168.1 kB / 0.695 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/1.144, allocations: 0.7297 MB / 0.6957 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/1.147, allocations: 166.1 kB / 0.6959 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.148, allocations: 33.39 kB / 0.6959 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/1.148, allocations: 3.969 kB / 0.6959 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007814/1.155, allocations: 1.246 MB / 0.6971 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/1.156, allocations: 3.844 kB / 0.6971 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/1.157, allocations: 163.4 kB / 0.6973 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.158, allocations: 168.4 kB / 0.6974 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/1.16, allocations: 0.7263 MB / 0.6981 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/1.163, allocations: 164.7 kB / 0.6983 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/1.163, allocations: 34.3 kB / 0.6983 GB, free: 1.883 MB / 0.5137 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 (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 11} Notification: Performance of prepare postOptimizeDAE: time 0.001743/1.165, allocations: 414.6 kB / 0.6987 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009021/1.166, allocations: 131.5 kB / 0.6989 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008162/1.174, allocations: 1.401 MB / 0.7002 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-05/1.174, allocations: 10.05 kB / 0.7002 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.174, allocations: 0 / 0.7002 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007039/1.181, allocations: 1.22 MB / 0.7014 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/1.191, allocations: 2.367 MB / 0.7037 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/1.191, allocations: 2.875 kB / 0.7037 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009621/1.192, allocations: 126.2 kB / 0.7039 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/1.194, allocations: 152 kB / 0.704 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.194, allocations: 19.55 kB / 0.704 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/1.195, allocations: 0.7201 MB / 0.7047 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-05/1.195, allocations: 7.141 kB / 0.7047 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/1.202, allocations: 1.657 MB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/1.204, allocations: 353.7 kB / 0.7067 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005574/1.205, allocations: 17.77 kB / 0.7067 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.207, allocations: 95.2 kB / 0.7068 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/1.207, allocations: 55.34 kB / 0.7068 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/1.207, allocations: 28.36 kB / 0.7069 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003061/1.21, allocations: 0.9026 MB / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.21, allocations: 0 / 0.7078 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006662/1.217, allocations: 0.7158 MB / 0.7085 GB, free: 12.21 MB / 0.5294 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01072/1.228, allocations: 3.484 MB / 0.7119 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005634/1.233, allocations: 1.175 MB / 0.713 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.234, allocations: 0 / 0.713 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.235, allocations: 415.7 kB / 0.7134 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007992/1.243, allocations: 0.7466 MB / 0.7141 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/1.262, allocations: 5.789 MB / 0.7198 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/1.264, allocations: 1.196 MB / 0.721 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002968/1.267, allocations: 309.9 kB / 0.7212 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.269, allocations: 0.5187 MB / 0.7218 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of SimCode: time 2.585e-06/1.269, allocations: 4 kB / 0.7218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/1.412, allocations: 41.92 MB / 0.7627 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004989/1.412, allocations: 243.8 kB / 0.7629 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.927/6.34, allocations: 3.938 kB / 0.7629 GB, free: 7.352 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: