Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_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.001412/0.001411, 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.001939/0.001939, 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.138/2.138, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.193/1.193, allocations: 132.2 MB / 423.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006991/0.0006995, allocations: 11.94 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.631, allocations: 81.57 MB / 0.583 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06543/0.6965, allocations: 63 MB / 0.6445 GB, free: 1.438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.7153, allocations: 12.97 MB / 0.6571 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.7185, allocations: 59.56 kB / 0.6572 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.7221, allocations: 0.7462 MB / 0.6579 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009162/0.7312, allocations: 2.402 MB / 0.6603 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005354/0.7366, allocations: 1.521 MB / 0.6618 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005404/0.742, allocations: 2.514 MB / 0.6642 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/0.7443, allocations: 1.033 MB / 0.6652 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.7473, allocations: 1.175 MB / 0.6664 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.7491, allocations: 0.7934 MB / 0.6671 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004314/0.7496, allocations: 56 kB / 0.6672 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.7525, allocations: 0.8503 MB / 0.668 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005189/0.753, allocations: 266.9 kB / 0.6683 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007354/0.7538, allocations: 360.9 kB / 0.6686 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.7569, allocations: 2.03 MB / 0.6706 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7569, allocations: 0 / 0.6706 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7569, allocations: 3.938 kB / 0.6706 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.288e-05/0.757, allocations: 0 / 0.6706 GB, free: 6.625 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.004376/0.7614, allocations: 1.787 MB / 0.6724 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.7614, allocations: 12.03 kB / 0.6724 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004689/0.7619, allocations: 147.9 kB / 0.6725 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.7631, allocations: 241.8 kB / 0.6727 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.7663, allocations: 1.385 MB / 0.6741 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.7664, allocations: 74 kB / 0.6742 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.7666, allocations: 104 kB / 0.6743 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.7689, allocations: 1.112 MB / 0.6754 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.7689, allocations: 3.906 kB / 0.6754 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.7691, allocations: 40 kB / 0.6754 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/0.7692, allocations: 24 kB / 0.6754 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.7717, allocations: 0.9328 MB / 0.6763 GB, free: 0.6094 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.008409/0.7801, allocations: 4.974 MB / 0.6812 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.7817, allocations: 0.6443 MB / 0.6818 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.7823, allocations: 0.8277 MB / 0.6826 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.7824, allocations: 39.12 kB / 0.6827 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.856e-06/0.7824, allocations: 4 kB / 0.6827 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.005187/0.7876, allocations: 1.507 MB / 0.6841 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.7877, allocations: 63.92 kB / 0.6842 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.7899, allocations: 1.257 MB / 0.6854 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.7901, allocations: 45.7 kB / 0.6855 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005782/0.7907, allocations: 0.6065 MB / 0.6861 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.7909, allocations: 212.9 kB / 0.6863 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.7909, allocations: 16 kB / 0.6863 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7911, allocations: 334 kB / 0.6866 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007307/0.7918, allocations: 293.8 kB / 0.6869 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000948/0.7928, allocations: 0.5013 MB / 0.6874 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000859/0.7937, allocations: 359 kB / 0.6877 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7937, allocations: 0 / 0.6877 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004926/0.7986, allocations: 1.39 MB / 0.6891 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004856/0.7991, allocations: 1.335 MB / 0.6904 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.7992, allocations: 4 kB / 0.6904 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007634/0.7999, allocations: 160.7 kB / 0.6905 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.8006, allocations: 175.7 kB / 0.6907 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008786/0.8015, allocations: 0.7202 MB / 0.6914 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8029, allocations: 163.1 kB / 0.6916 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.803, allocations: 35.98 kB / 0.6916 GB, free: 240 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.8031, allocations: 7.953 kB / 0.6916 GB, free: 232 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004511/0.8076, allocations: 1.242 MB / 0.6928 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.8076, allocations: 4 kB / 0.6928 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006124/0.8082, allocations: 164.3 kB / 0.693 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.8089, allocations: 171.8 kB / 0.6931 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008286/0.8097, allocations: 0.724 MB / 0.6938 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.811, allocations: 159.1 kB / 0.694 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.8111, allocations: 35.98 kB / 0.694 GB, free: 13.7 MB / 0.5294 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.0007289/0.8119, allocations: 426 kB / 0.6944 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.8122, allocations: 134.4 kB / 0.6946 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.8169, allocations: 1.392 MB / 0.6959 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.8169, allocations: 11.98 kB / 0.6959 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.817, allocations: 0 / 0.6959 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004106/0.8211, allocations: 1.221 MB / 0.6971 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.8258, allocations: 2.357 MB / 0.6994 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.8258, allocations: 4 kB / 0.6994 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.8263, allocations: 119.8 kB / 0.6995 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.8269, allocations: 164.8 kB / 0.6997 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.827, allocations: 27.94 kB / 0.6997 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008188/0.8278, allocations: 0.7123 MB / 0.7004 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.8278, allocations: 4 kB / 0.7004 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.8307, allocations: 1.68 MB / 0.7021 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/0.8315, allocations: 350.9 kB / 0.7024 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/0.8319, allocations: 12 kB / 0.7024 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.833, allocations: 103.9 kB / 0.7025 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.8331, allocations: 56.3 kB / 0.7026 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/0.8332, allocations: 27.98 kB / 0.7026 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001529/0.8347, allocations: 0.8974 MB / 0.7035 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8347, allocations: 3.938 kB / 0.7035 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002454/0.8372, allocations: 0.7135 MB / 0.7042 GB, free: 2.883 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.004502/0.8417, allocations: 3.471 MB / 0.7076 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.8445, allocations: 1.16 MB / 0.7087 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.8445, allocations: 4 kB / 0.7087 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.8455, allocations: 415.2 kB / 0.7091 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003774/0.8493, allocations: 0.7567 MB / 0.7098 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007458/0.8567, allocations: 5.795 MB / 0.7155 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009013/0.8577, allocations: 1.2 MB / 0.7167 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001513/0.8592, allocations: 302.8 kB / 0.717 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/0.86, allocations: 0.5149 MB / 0.7175 GB, free: 4.988 MB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/0.86, allocations: 0 / 0.7175 GB, free: 4.988 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.649/1.509, allocations: 41.91 MB / 0.7584 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004156/1.509, allocations: 238.9 kB / 0.7586 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.678/6.188, allocations: 0 / 0.7586 GB, free: 11.4 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: