Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001347/0.001346, allocations: 99.7 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.001623/0.001623, 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.222/2.222, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.287/1.287, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005857/0.0005859, allocations: 8 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9224, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005523/0.928, allocations: 2.47 MB / 0.5854 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006619/0.9288, allocations: 343.3 kB / 0.5857 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.9288, allocations: 0 / 0.5857 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.929, allocations: 5.844 kB / 0.5857 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.9291, allocations: 9.344 kB / 0.5857 GB, free: 2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.9299, allocations: 147.5 kB / 0.5859 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.93, allocations: 18.5 kB / 0.5859 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.9301, allocations: 2.156 kB / 0.5859 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.9302, allocations: 13.44 kB / 0.5859 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.9303, allocations: 9.859 kB / 0.5859 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.9303, allocations: 0 / 0.5859 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.9308, allocations: 109 kB / 0.586 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.9309, allocations: 3.766 kB / 0.586 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.9309, allocations: 29 kB / 0.586 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.9312, allocations: 53.33 kB / 0.5861 GB, free: 1.824 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9312, allocations: 0 / 0.5861 GB, free: 1.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.9313, allocations: 4 kB / 0.5861 GB, free: 1.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.9313, allocations: 0 / 0.5861 GB, free: 1.82 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.0006017/0.9319, allocations: 346.8 kB / 0.5864 GB, free: 1.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.45e-05/0.932, allocations: 9.406 kB / 0.5864 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.932, allocations: 30.56 kB / 0.5865 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.9321, allocations: 5.922 kB / 0.5865 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.9322, allocations: 162 kB / 0.5866 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.042e-05/0.9323, allocations: 31.58 kB / 0.5866 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.9324, allocations: 6.219 kB / 0.5867 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.9326, allocations: 48.17 kB / 0.5867 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.9326, allocations: 0 / 0.5867 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.9327, allocations: 1.062 kB / 0.5867 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.9327, allocations: 1.766 kB / 0.5867 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.9328, allocations: 16.22 kB / 0.5867 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.9336, allocations: 0.5738 MB / 0.5873 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.9337, allocations: 24.83 kB / 0.5873 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.9339, allocations: 332.2 kB / 0.5876 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.9339, allocations: 32.39 kB / 0.5877 GB, free: 28 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.9339, allocations: 3.938 kB / 0.5877 GB, free: 24 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002228/0.9342, allocations: 37.88 kB / 0.5877 GB, free: 15.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.9342, allocations: 56.06 kB / 0.5877 GB, free: 15.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.9344, allocations: 106.3 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.9344, allocations: 34.45 kB / 0.5879 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.9345, allocations: 86.11 kB / 0.588 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.9345, allocations: 5.25 kB / 0.588 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.9346, allocations: 0 / 0.588 GB, free: 15.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.9348, allocations: 316.9 kB / 0.5883 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.9348, allocations: 3.719 kB / 0.5883 GB, free: 15.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.9348, allocations: 19.72 kB / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.9349, allocations: 7.875 kB / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9349, allocations: 0 / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001289/0.935, allocations: 49.66 kB / 0.5883 GB, free: 15.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.9351, allocations: 5.516 kB / 0.5883 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.9351, allocations: 0.6875 kB / 0.5884 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.9351, allocations: 6.094 kB / 0.5884 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.9352, allocations: 5.25 kB / 0.5884 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.9352, allocations: 1.547 kB / 0.5884 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.832e-05/0.9353, allocations: 1.062 kB / 0.5884 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.9353, allocations: 6.031 kB / 0.5884 GB, free: 15.3 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 0.0001359/0.9354, allocations: 108.3 kB / 0.5885 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.9355, allocations: 5.5 kB / 0.5885 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.9357, allocations: 122.4 kB / 0.5886 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.013e-05/0.9358, allocations: 177.9 kB / 0.5888 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/0.9359, allocations: 186.3 kB / 0.5889 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001119/0.936, allocations: 185.9 kB / 0.5891 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.9364, allocations: 400.5 kB / 0.5895 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.156e-05/0.9365, allocations: 106.6 kB / 0.5896 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.9365, allocations: 102.2 kB / 0.5897 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001426/0.9367, allocations: 181.8 kB / 0.5899 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.9368, allocations: 186.1 kB / 0.5901 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001039/0.9369, allocations: 178.9 kB / 0.5902 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.459e-05/0.937, allocations: 181 kB / 0.5904 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.9373, allocations: 314.3 kB / 0.5907 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.9374, allocations: 185.4 kB / 0.5909 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.9376, allocations: 187.3 kB / 0.591 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.9378, allocations: 110.4 kB / 0.5912 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.938, allocations: 181.8 kB / 0.5913 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.015e-05/0.9381, allocations: 107.8 kB / 0.5914 GB, free: 12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.9381, allocations: 85.31 kB / 0.5915 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9382, allocations: 4 kB / 0.5915 GB, free: 11.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.9387, allocations: 35.7 kB / 0.5916 GB, free: 11.9 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.001042/0.9397, allocations: 0.856 MB / 0.5924 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.9398, allocations: 10.72 kB / 0.5924 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.9399, allocations: 0.875 kB / 0.5924 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.9399, allocations: 1.031 kB / 0.5924 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.9405, allocations: 0.5335 MB / 0.5929 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.9412, allocations: 220.9 kB / 0.5931 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.9417, allocations: 0.6814 MB / 0.5938 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.9418, allocations: 12.11 kB / 0.5938 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.9419, allocations: 13.64 kB / 0.5938 GB, free: 9.605 MB / 446.1 MB Notification: Performance of SimCode: time 4.378e-06/0.9419, allocations: 0 / 0.5938 GB, free: 9.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.9641, allocations: 1.863 MB / 0.5956 GB, free: 9.371 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.9645, allocations: 227.9 kB / 0.5959 GB, free: 9.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.736, allocations: 0 / 0.5959 GB, free: 9.133 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: