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.000818/0.000818, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008086/0.0008086, allocations: 172.7 kB / 15.95 MB, free: 208 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.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7466/0.7466, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 8.219 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4261, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004293/0.4304, allocations: 3.568 MB / 0.5866 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.4307, allocations: 154.4 kB / 0.5868 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.4307, allocations: 0 / 0.5868 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.4308, allocations: 2.578 kB / 0.5868 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.4309, allocations: 9.469 kB / 0.5868 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.4312, allocations: 71.03 kB / 0.5868 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.4313, allocations: 42.11 kB / 0.5869 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.4314, allocations: 10.2 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.4314, allocations: 11.47 kB / 0.5869 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.4315, allocations: 13.28 kB / 0.5869 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.4315, allocations: 1.531 kB / 0.5869 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.4317, allocations: 34.25 kB / 0.5869 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.4317, allocations: 8.031 kB / 0.587 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.4318, allocations: 28.75 kB / 0.587 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.4319, allocations: 27.69 kB / 0.587 GB, free: 1.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4319, allocations: 4.781 kB / 0.587 GB, free: 1.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4319, allocations: 3.938 kB / 0.587 GB, free: 1.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.4319, allocations: 0 / 0.587 GB, free: 1.141 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.0002938/0.4322, allocations: 335 kB / 0.5873 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4323, allocations: 9.344 kB / 0.5873 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.4323, allocations: 32.33 kB / 0.5874 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.4323, allocations: 5.797 kB / 0.5874 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.017e-05/0.4324, allocations: 165.3 kB / 0.5875 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.4325, allocations: 32.42 kB / 0.5876 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.4325, allocations: 0.9062 kB / 0.5876 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4326, allocations: 48.5 kB / 0.5876 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4326, allocations: 0.8438 kB / 0.5876 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4327, allocations: 0 / 0.5876 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.4327, allocations: 2.141 kB / 0.5876 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.4327, allocations: 17.86 kB / 0.5876 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.4331, allocations: 327.7 kB / 0.5879 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.4332, allocations: 29.47 kB / 0.588 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.4332, allocations: 5.859 kB / 0.588 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.4333, allocations: 84.09 kB / 0.5881 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.4334, allocations: 31.66 kB / 0.5881 GB, free: 15.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.4334, allocations: 0 / 0.5881 GB, free: 15.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.4336, allocations: 45.36 kB / 0.5881 GB, free: 15.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4336, allocations: 57.2 kB / 0.5882 GB, free: 15.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.4337, allocations: 102.3 kB / 0.5883 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4337, allocations: 25.7 kB / 0.5883 GB, free: 15.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.4338, allocations: 94.89 kB / 0.5884 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.4338, allocations: 0.7188 kB / 0.5884 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.4338, allocations: 3.938 kB / 0.5884 GB, free: 15.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.4339, allocations: 312.9 kB / 0.5887 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.4339, allocations: 3.141 kB / 0.5887 GB, free: 15.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.434, allocations: 23.45 kB / 0.5887 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.434, allocations: 4.578 kB / 0.5887 GB, free: 15.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.434, allocations: 0.8125 kB / 0.5887 GB, free: 15.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.343e-05/0.4341, allocations: 48.92 kB / 0.5888 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4341, allocations: 6.391 kB / 0.5888 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4341, allocations: 4.594 kB / 0.5888 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4341, allocations: 4.609 kB / 0.5888 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.4342, allocations: 10.02 kB / 0.5888 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4342, allocations: 0.9062 kB / 0.5888 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.4342, allocations: 5.594 kB / 0.5888 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4342, allocations: 2.578 kB / 0.5888 GB, free: 15.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.4343, allocations: 108.4 kB / 0.5889 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.4343, allocations: 4.656 kB / 0.5889 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.4344, allocations: 123.7 kB / 0.589 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.688e-05/0.4345, allocations: 182 kB / 0.5892 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.507e-05/0.4346, allocations: 185.5 kB / 0.5894 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.036e-05/0.4347, allocations: 178.8 kB / 0.5896 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.4349, allocations: 407.7 kB / 0.59 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-05/0.4349, allocations: 110.6 kB / 0.5901 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.435, allocations: 103.3 kB / 0.5902 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-05/0.435, allocations: 189 kB / 0.5903 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.4351, allocations: 178.7 kB / 0.5905 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.554e-05/0.4352, allocations: 182 kB / 0.5907 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-05/0.4353, allocations: 177.9 kB / 0.5908 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.4354, allocations: 313.6 kB / 0.5911 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.4355, allocations: 181.7 kB / 0.5913 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.4356, allocations: 182.3 kB / 0.5915 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.4358, allocations: 108 kB / 0.5916 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.4358, allocations: 182.3 kB / 0.5918 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.4359, allocations: 110.3 kB / 0.5919 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.939e-05/0.4359, allocations: 89.17 kB / 0.592 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4359, allocations: 0 / 0.592 GB, free: 11.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000283/0.4362, allocations: 17.58 kB / 0.592 GB, free: 11.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000438/0.4367, allocations: 0.8182 MB / 0.5928 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.4368, allocations: 15.36 kB / 0.5928 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4368, allocations: 0 / 0.5928 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.4368, allocations: 1.469 kB / 0.5928 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.4372, allocations: 0.5176 MB / 0.5933 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.4376, allocations: 241.4 kB / 0.5935 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.4379, allocations: 0.6776 MB / 0.5942 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.4379, allocations: 5.641 kB / 0.5942 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.4379, allocations: 11.08 kB / 0.5942 GB, free: 9.516 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4379, allocations: 0 / 0.5942 GB, free: 9.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.4498, allocations: 1.217 MB / 0.5954 GB, free: 9.363 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.45, allocations: 184.7 kB / 0.5956 GB, free: 9.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.111, allocations: 1.031 kB / 0.5956 GB, free: 9.125 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/linux/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) Environment - environmentSimulation: