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.001226/0.001226, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001229/0.001229, allocations: 196.6 kB / 16.26 MB, free: 6.621 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7063/0.7063, allocations: 132.2 MB / 422.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 60.11 kB / 0.5014 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3084, allocations: 80.2 MB / 0.5797 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003604/0.3121, allocations: 3.341 MB / 0.5829 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 7.072e-05/0.3121, allocations: 51.41 kB / 0.583 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.3122, allocations: 0 / 0.583 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.172e-05/0.3122, allocations: 4.547 kB / 0.583 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.81e-05/0.3123, allocations: 13.55 kB / 0.583 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.3127, allocations: 173 kB / 0.5832 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.3128, allocations: 29.86 kB / 0.5832 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.905e-05/0.3128, allocations: 6.141 kB / 0.5832 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.3129, allocations: 20.06 kB / 0.5832 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.3129, allocations: 13.5 kB / 0.5832 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.3129, allocations: 1.25 kB / 0.5832 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.3132, allocations: 179.8 kB / 0.5834 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.3133, allocations: 12.44 kB / 0.5834 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.3133, allocations: 10.92 kB / 0.5834 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3135, allocations: 136.1 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3135, allocations: 0.9062 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3135, allocations: 0 / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.3136, allocations: 0.8438 kB / 0.5836 GB, free: 1.91 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.0002709/0.3138, allocations: 349.9 kB / 0.5839 GB, free: 1.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3139, allocations: 10.09 kB / 0.5839 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.3139, allocations: 35.62 kB / 0.5839 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.3139, allocations: 7.812 kB / 0.5839 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.866e-05/0.314, allocations: 162 kB / 0.5841 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.3141, allocations: 33.77 kB / 0.5841 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.3141, allocations: 5.125 kB / 0.5841 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3142, allocations: 48.05 kB / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.3142, allocations: 0.8125 kB / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.3142, allocations: 0 / 0.5842 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3142, allocations: 6.25 kB / 0.5842 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.3143, allocations: 12.53 kB / 0.5842 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.3147, allocations: 0.5849 MB / 0.5848 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.653e-05/0.3147, allocations: 20.8 kB / 0.5848 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.214e-05/0.3147, allocations: 6.719 kB / 0.5848 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.3149, allocations: 343.3 kB / 0.5851 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.119e-05/0.3149, allocations: 31.75 kB / 0.5852 GB, free: 104 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3149, allocations: 4 kB / 0.5852 GB, free: 100 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001112/0.315, allocations: 37.55 kB / 0.5852 GB, free: 64 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.315, allocations: 56.09 kB / 0.5852 GB, free: 16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.3151, allocations: 107.2 kB / 0.5854 GB, free: 15.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3151, allocations: 25.7 kB / 0.5854 GB, free: 15.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.3152, allocations: 90.5 kB / 0.5855 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.3152, allocations: 1.453 kB / 0.5855 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.3152, allocations: 19.62 kB / 0.5855 GB, free: 15.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.3153, allocations: 319.5 kB / 0.5858 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.3153, allocations: 4.047 kB / 0.5858 GB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.3154, allocations: 19.61 kB / 0.5858 GB, free: 15.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.3154, allocations: 17.09 kB / 0.5858 GB, free: 15.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3154, allocations: 0 / 0.5858 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.317e-05/0.3155, allocations: 53.36 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.3155, allocations: 7.312 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3155, allocations: 1.312 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.3155, allocations: 1.438 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.72e-05/0.3156, allocations: 5.812 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3156, allocations: 4.75 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.3156, allocations: 1.781 kB / 0.5859 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.3156, allocations: 1.562 kB / 0.5859 GB, free: 15.35 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.152e-05/0.3157, allocations: 118.1 kB / 0.586 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3157, allocations: 10.36 kB / 0.586 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.3158, allocations: 118.3 kB / 0.5861 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/0.3159, allocations: 181.7 kB / 0.5863 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-05/0.3159, allocations: 182 kB / 0.5865 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/0.316, allocations: 178.2 kB / 0.5867 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3162, allocations: 416 kB / 0.587 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/0.3162, allocations: 105.8 kB / 0.5871 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.3162, allocations: 103.1 kB / 0.5872 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.75e-05/0.3163, allocations: 182.1 kB / 0.5874 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.3164, allocations: 177.8 kB / 0.5876 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-05/0.3164, allocations: 182.8 kB / 0.5878 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.025e-05/0.3165, allocations: 182 kB / 0.5879 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3166, allocations: 310.6 kB / 0.5882 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.3167, allocations: 182.9 kB / 0.5884 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.3167, allocations: 183.1 kB / 0.5886 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3169, allocations: 118.6 kB / 0.5887 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.317, allocations: 181.9 kB / 0.5889 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.317, allocations: 110.5 kB / 0.589 GB, free: 12.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.317, allocations: 82.58 kB / 0.5891 GB, free: 11.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.317, allocations: 0 / 0.5891 GB, free: 11.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000259/0.3173, allocations: 45.02 kB / 0.5891 GB, free: 11.93 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.0004376/0.3178, allocations: 0.8581 MB / 0.5899 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.493e-05/0.3178, allocations: 16.33 kB / 0.59 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3178, allocations: 0.9062 kB / 0.59 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3178, allocations: 0 / 0.59 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3182, allocations: 455.9 kB / 0.5904 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.3191, allocations: 1.344 MB / 0.5917 GB, free: 9.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.3193, allocations: 0.6737 MB / 0.5924 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.3193, allocations: 5.734 kB / 0.5924 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.3194, allocations: 12.91 kB / 0.5924 GB, free: 8.598 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3194, allocations: 5.594 kB / 0.5924 GB, free: 8.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.284/0.6034, allocations: 2.039 MB / 0.5944 GB, free: 8.266 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/0.6037, allocations: 251.4 kB / 0.5946 GB, free: 8.012 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.568, allocations: 1.031 kB / 0.5946 GB, free: 8.012 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/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)