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.00119/0.00119, allocations: 99.39 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.00148/0.00148, allocations: 177.3 kB / 15.95 MB, free: 216 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.277/2.277, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.947/0.947, allocations: 132.3 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.000503, allocations: 8 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7367, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.09922/0.836, allocations: 63 MB / 0.6445 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03057/0.8667, allocations: 12.96 MB / 0.6571 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/0.871, allocations: 55.62 kB / 0.6572 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004926/0.876, allocations: 0.7462 MB / 0.6579 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01528/0.8914, allocations: 2.402 MB / 0.6603 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008861/0.9003, allocations: 1.513 MB / 0.6617 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00969/0.91, allocations: 2.514 MB / 0.6642 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.9135, allocations: 1.056 MB / 0.6652 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005317/0.9189, allocations: 1.164 MB / 0.6664 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.9219, allocations: 0.7778 MB / 0.6671 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.9225, allocations: 56 kB / 0.6672 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005028/0.9275, allocations: 0.8425 MB / 0.668 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006956/0.9283, allocations: 262.8 kB / 0.6683 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.9294, allocations: 356.9 kB / 0.6686 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005168/0.9346, allocations: 2.022 MB / 0.6706 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.9346, allocations: 0 / 0.6706 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9346, allocations: 0 / 0.6706 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.458e-05/0.9347, allocations: 0 / 0.6706 GB, free: 6.707 MB / 0.4981 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.006802/0.9415, allocations: 1.787 MB / 0.6723 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.9416, allocations: 16.02 kB / 0.6723 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006426/0.9423, allocations: 144 kB / 0.6725 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.9439, allocations: 241.8 kB / 0.6727 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004847/0.9488, allocations: 1.381 MB / 0.674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.949, allocations: 74 kB / 0.6741 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.9493, allocations: 100 kB / 0.6742 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004103/0.9534, allocations: 1.1 MB / 0.6753 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.9535, allocations: 4 kB / 0.6753 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.9537, allocations: 47.98 kB / 0.6753 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.9537, allocations: 27.95 kB / 0.6754 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.9574, allocations: 0.9212 MB / 0.6763 GB, free: 0.7109 MB / 0.4981 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.01171/0.9691, allocations: 4.958 MB / 0.6811 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.9716, allocations: 0.6361 MB / 0.6817 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.9726, allocations: 0.8238 MB / 0.6825 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.9727, allocations: 47.06 kB / 0.6826 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.387e-06/0.9727, allocations: 0 / 0.6826 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.0126/0.9853, allocations: 1.877 MB / 0.6844 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.9854, allocations: 67.92 kB / 0.6845 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003856/0.9893, allocations: 1.249 MB / 0.6857 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003982/0.9898, allocations: 41.7 kB / 0.6857 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.9908, allocations: 0.6065 MB / 0.6863 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.9913, allocations: 216.9 kB / 0.6865 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.9914, allocations: 12 kB / 0.6865 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002795/0.9917, allocations: 330 kB / 0.6869 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.9928, allocations: 301.8 kB / 0.6871 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.994, allocations: 0.5022 MB / 0.6876 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.9952, allocations: 355 kB / 0.688 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9952, allocations: 0 / 0.688 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007669/1.003, allocations: 1.398 MB / 0.6893 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001124/1.004, allocations: 1.427 MB / 0.6907 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/1.004, allocations: 4 kB / 0.6907 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/1.005, allocations: 148.7 kB / 0.6909 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.006, allocations: 171.7 kB / 0.691 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/1.008, allocations: 0.7124 MB / 0.6917 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/1.01, allocations: 171 kB / 0.6919 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/1.01, allocations: 31.98 kB / 0.6919 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.01, allocations: 8 kB / 0.6919 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007253/1.018, allocations: 1.249 MB / 0.6932 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.018, allocations: 4 kB / 0.6932 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008659/1.019, allocations: 152.7 kB / 0.6933 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/1.02, allocations: 163.8 kB / 0.6935 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/1.021, allocations: 0.7161 MB / 0.6942 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/1.023, allocations: 171.1 kB / 0.6943 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.023, allocations: 31.98 kB / 0.6944 GB, free: 13.39 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.00106/1.025, allocations: 416.9 kB / 0.6948 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004106/1.025, allocations: 134.4 kB / 0.6949 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/1.032, allocations: 1.4 MB / 0.6963 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/1.032, allocations: 8 kB / 0.6963 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.032, allocations: 3.953 kB / 0.6963 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006941/1.039, allocations: 1.232 MB / 0.6975 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/1.051, allocations: 2.754 MB / 0.7002 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/1.051, allocations: 4 kB / 0.7002 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009409/1.052, allocations: 128.2 kB / 0.7003 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008406/1.053, allocations: 136.7 kB / 0.7004 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.761e-05/1.053, allocations: 19.94 kB / 0.7004 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008272/1.061, allocations: 2.544 MB / 0.7029 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/1.061, allocations: 7.938 kB / 0.7029 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00976/1.071, allocations: 2.058 MB / 0.7049 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.073, allocations: 351 kB / 0.7053 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/1.073, allocations: 16 kB / 0.7053 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.075, allocations: 87.97 kB / 0.7054 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/1.075, allocations: 60.25 kB / 0.7054 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.075, allocations: 35.98 kB / 0.7055 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002156/1.077, allocations: 0.8974 MB / 0.7063 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/1.077, allocations: 0 / 0.7063 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003523/1.081, allocations: 0.729 MB / 0.7071 GB, free: 15.83 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.01133/1.092, allocations: 3.854 MB / 0.7108 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004525/1.097, allocations: 1.172 MB / 0.712 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.097, allocations: 0 / 0.712 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.099, allocations: 0.5917 MB / 0.7125 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006518/1.106, allocations: 0.7523 MB / 0.7133 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.116, allocations: 5.932 MB / 0.7191 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.117, allocations: 1.206 MB / 0.7202 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002436/1.119, allocations: 298.7 kB / 0.7205 GB, free: 1.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.121, allocations: 0.511 MB / 0.721 GB, free: 1.223 MB / 0.545 GB Notification: Performance of SimCode: time 3.757e-06/1.121, allocations: 3.938 kB / 0.721 GB, free: 1.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.111/2.232, allocations: 42.03 MB / 0.7621 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/2.232, allocations: 247.4 kB / 0.7623 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.441/6.673, allocations: 4 kB / 0.7623 GB, free: 7.516 MB / 0.5919 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: