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.0009549/0.0009553, allocations: 87.11 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.001004/0.001004, 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.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.3 MB / 423.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003253, allocations: 8 kB / 0.5035 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5174, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07/0.5875, allocations: 69.45 MB / 0.651 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.6066, allocations: 14.16 MB / 0.6648 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.6096, allocations: 59.56 kB / 0.6649 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.6116, allocations: 0.5627 MB / 0.6654 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007199/0.6188, allocations: 1.985 MB / 0.6673 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.6224, allocations: 0.9755 MB / 0.6683 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006335/0.6287, allocations: 4.805 MB / 0.673 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.6304, allocations: 1.021 MB / 0.674 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.6332, allocations: 1.283 MB / 0.6752 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.6349, allocations: 1.085 MB / 0.6763 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.6351, allocations: 56 kB / 0.6764 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002617/0.6377, allocations: 0.9355 MB / 0.6773 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.638, allocations: 278.7 kB / 0.6775 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.6385, allocations: 356.9 kB / 0.6779 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.6408, allocations: 2.089 MB / 0.6799 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6408, allocations: 0 / 0.6799 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.296e-06/0.6408, allocations: 0 / 0.6799 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.6408, allocations: 7.938 kB / 0.6799 GB, free: 13.19 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.003073/0.6439, allocations: 1.807 MB / 0.6817 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.644, allocations: 8.031 kB / 0.6817 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.6441, allocations: 151.9 kB / 0.6818 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/0.6448, allocations: 245.8 kB / 0.6821 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.6471, allocations: 1.447 MB / 0.6835 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.6472, allocations: 74 kB / 0.6836 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.6474, allocations: 111.9 kB / 0.6837 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.6493, allocations: 1.108 MB / 0.6847 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.6493, allocations: 4 kB / 0.6847 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/0.6494, allocations: 39.94 kB / 0.6848 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.6495, allocations: 35.97 kB / 0.6848 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.6512, allocations: 0.929 MB / 0.6857 GB, free: 7.078 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.005601/0.6568, allocations: 4.919 MB / 0.6905 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.6581, allocations: 0.6348 MB / 0.6912 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.6588, allocations: 373.2 kB / 0.6915 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/0.6595, allocations: 0.8355 MB / 0.6923 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6595, allocations: 39.12 kB / 0.6924 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/0.6595, allocations: 0 / 0.6924 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004336/0.6639, allocations: 1.522 MB / 0.6938 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.6639, allocations: 55.97 kB / 0.6939 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.6655, allocations: 1.206 MB / 0.6951 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.6655, allocations: 37.7 kB / 0.6951 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.6661, allocations: 0.6066 MB / 0.6957 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.6663, allocations: 216.8 kB / 0.6959 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.6663, allocations: 19.94 kB / 0.6959 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6665, allocations: 337.9 kB / 0.6963 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.6671, allocations: 293.8 kB / 0.6965 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/0.6679, allocations: 0.5013 MB / 0.697 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.6686, allocations: 363 kB / 0.6974 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6686, allocations: 0 / 0.6974 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003949/0.6725, allocations: 1.394 MB / 0.6987 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.6727, allocations: 189.4 kB / 0.6989 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.6727, allocations: 7.953 kB / 0.6989 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000653/0.6733, allocations: 164.3 kB / 0.6991 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.6739, allocations: 163.8 kB / 0.6992 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008371/0.6748, allocations: 0.7269 MB / 0.6999 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6759, allocations: 171 kB / 0.7001 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.6759, allocations: 31.98 kB / 0.7001 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.676, allocations: 6.5 kB / 0.7001 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003747/0.6797, allocations: 1.242 MB / 0.7014 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6797, allocations: 4 kB / 0.7014 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005095/0.6802, allocations: 164.8 kB / 0.7015 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.6808, allocations: 167.8 kB / 0.7017 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007452/0.6815, allocations: 0.7279 MB / 0.7024 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/0.6825, allocations: 155.2 kB / 0.7025 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.6826, allocations: 39.98 kB / 0.7026 GB, free: 5.09 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.0006663/0.6833, allocations: 417 kB / 0.703 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.6835, allocations: 134.3 kB / 0.7031 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.6874, allocations: 1.394 MB / 0.7045 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.6875, allocations: 11.98 kB / 0.7045 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6875, allocations: 4 kB / 0.7045 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003497/0.691, allocations: 1.217 MB / 0.7057 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.6949, allocations: 2.345 MB / 0.708 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.695, allocations: 4 kB / 0.708 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.6954, allocations: 115.9 kB / 0.7081 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005756/0.696, allocations: 161.2 kB / 0.7082 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.6961, allocations: 19.98 kB / 0.7082 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007996/0.6969, allocations: 0.7122 MB / 0.7089 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6969, allocations: 4 kB / 0.7089 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.6995, allocations: 1.466 MB / 0.7104 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.7002, allocations: 339 kB / 0.7107 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7004, allocations: 12 kB / 0.7107 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.7012, allocations: 91.91 kB / 0.7108 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.7013, allocations: 64.25 kB / 0.7109 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.53e-05/0.7014, allocations: 27.98 kB / 0.7109 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001357/0.7027, allocations: 0.8623 MB / 0.7117 GB, free: 11.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7027, allocations: 0 / 0.7117 GB, free: 11.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001937/0.7047, allocations: 0.6979 MB / 0.7124 GB, free: 10.72 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003927/0.7086, allocations: 2.325 MB / 0.7147 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002633/0.7113, allocations: 1.168 MB / 0.7158 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7113, allocations: 0 / 0.7158 GB, free: 7.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008755/0.7122, allocations: 415.2 kB / 0.7162 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/0.7159, allocations: 0.7687 MB / 0.717 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.7336, allocations: 8.357 MB / 0.7251 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.7344, allocations: 1.172 MB / 0.7263 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001367/0.7358, allocations: 306.6 kB / 0.7266 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006742/0.7364, allocations: 0.5148 MB / 0.7271 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.7365, allocations: 0 / 0.7271 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06356/0.8, allocations: 42.02 MB / 0.7681 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.8002, allocations: 246.8 kB / 0.7683 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/3.424, allocations: 0 / 0.7683 GB, free: 1.566 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: