Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.0009411/0.0009411, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005415/0.005415, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7101/0.7101, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 8 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3494, allocations: 81.57 MB / 0.5837 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003343/0.3528, allocations: 3.685 MB / 0.5873 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.353, allocations: 161 kB / 0.5875 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.251e-05/0.353, allocations: 4 kB / 0.5875 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.641e-05/0.3531, allocations: 5.703 kB / 0.5875 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.3531, allocations: 10.2 kB / 0.5875 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.3534, allocations: 73.33 kB / 0.5876 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.3535, allocations: 58.34 kB / 0.5876 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.3535, allocations: 3.219 kB / 0.5876 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.3536, allocations: 18.56 kB / 0.5876 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.3536, allocations: 20.42 kB / 0.5877 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.3536, allocations: 1.344 kB / 0.5877 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3538, allocations: 73.09 kB / 0.5877 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.3539, allocations: 8.797 kB / 0.5877 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.3539, allocations: 35.16 kB / 0.5878 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.354, allocations: 47.7 kB / 0.5878 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.354, allocations: 0 / 0.5878 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.354, allocations: 1.156 kB / 0.5878 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.354, allocations: 0 / 0.5878 GB, free: 0.8633 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002445/0.3543, allocations: 336.4 kB / 0.5881 GB, free: 0.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3543, allocations: 9.938 kB / 0.5882 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.3544, allocations: 32.5 kB / 0.5882 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.3544, allocations: 2.156 kB / 0.5882 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.861e-05/0.3545, allocations: 166.9 kB / 0.5883 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.3545, allocations: 33.3 kB / 0.5884 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.3545, allocations: 5.281 kB / 0.5884 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.3547, allocations: 44.83 kB / 0.5884 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.3547, allocations: 4 kB / 0.5884 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.3547, allocations: 0 / 0.5884 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3547, allocations: 1.906 kB / 0.5884 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.3547, allocations: 16.23 kB / 0.5884 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.3551, allocations: 337.5 kB / 0.5888 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.363e-05/0.3551, allocations: 25.31 kB / 0.5888 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.3552, allocations: 5.953 kB / 0.5888 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.782e-05/0.3553, allocations: 88.19 kB / 0.5889 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3553, allocations: 32.41 kB / 0.5889 GB, free: 15.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3553, allocations: 0 / 0.5889 GB, free: 15.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.3554, allocations: 41.75 kB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.3555, allocations: 52.02 kB / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.3555, allocations: 102.4 kB / 0.5891 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3556, allocations: 25.83 kB / 0.5891 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.3556, allocations: 94.64 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/0.3556, allocations: 0.9688 kB / 0.5892 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.3556, allocations: 11.2 kB / 0.5892 GB, free: 15.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.3557, allocations: 316.8 kB / 0.5895 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.3558, allocations: 3.234 kB / 0.5895 GB, free: 14.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.3558, allocations: 19.91 kB / 0.5896 GB, free: 14.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.3558, allocations: 24.69 kB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3558, allocations: 3.938 kB / 0.5896 GB, free: 14.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.992e-05/0.3559, allocations: 41.86 kB / 0.5896 GB, free: 14.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3559, allocations: 8.141 kB / 0.5896 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3559, allocations: 0 / 0.5896 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.356, allocations: 1.062 kB / 0.5896 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.356, allocations: 5.938 kB / 0.5896 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.356, allocations: 5.641 kB / 0.5896 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.356, allocations: 12.59 kB / 0.5897 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3561, allocations: 6.688 kB / 0.5897 GB, free: 14.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.3561, allocations: 113.2 kB / 0.5898 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3561, allocations: 5.094 kB / 0.5898 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.3563, allocations: 114.2 kB / 0.5899 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.061e-05/0.3563, allocations: 190.1 kB / 0.5901 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-05/0.3564, allocations: 186.4 kB / 0.5902 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-05/0.3564, allocations: 177.7 kB / 0.5904 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3566, allocations: 416.1 kB / 0.5908 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/0.3567, allocations: 102.4 kB / 0.5909 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.3567, allocations: 106.8 kB / 0.591 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.874e-05/0.3568, allocations: 178.4 kB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.3568, allocations: 181.3 kB / 0.5913 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.263e-05/0.3569, allocations: 186 kB / 0.5915 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.314e-05/0.357, allocations: 177.8 kB / 0.5917 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.3571, allocations: 311 kB / 0.592 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.3572, allocations: 189.2 kB / 0.5922 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.3572, allocations: 182.2 kB / 0.5923 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3574, allocations: 106.8 kB / 0.5924 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.3575, allocations: 182.4 kB / 0.5926 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.3575, allocations: 102.2 kB / 0.5927 GB, free: 11.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.3575, allocations: 87.02 kB / 0.5928 GB, free: 11.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3575, allocations: 4 kB / 0.5928 GB, free: 11.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.3578, allocations: 16.48 kB / 0.5928 GB, free: 11.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004694/0.3583, allocations: 0.8331 MB / 0.5936 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.176e-05/0.3583, allocations: 11.38 kB / 0.5936 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3584, allocations: 0 / 0.5936 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.3584, allocations: 0.6562 kB / 0.5936 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3588, allocations: 0.532 MB / 0.5942 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.3596, allocations: 1.328 MB / 0.5955 GB, free: 8.801 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.3599, allocations: 0.6744 MB / 0.5961 GB, free: 8.105 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.3599, allocations: 6.484 kB / 0.5961 GB, free: 8.105 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.3599, allocations: 8.656 kB / 0.5961 GB, free: 8.098 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3599, allocations: 4 kB / 0.5961 GB, free: 8.094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7112/1.071, allocations: 1.3 MB / 0.5974 GB, free: 7.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/1.071, allocations: 198.6 kB / 0.5976 GB, free: 7.676 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.114, allocations: 0 / 0.5976 GB, free: 7.676 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)