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.001183/0.001183, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7177/0.7177, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.44 kB / 0.5019 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3428, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00466/0.3475, allocations: 3.286 MB / 0.5834 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 9.944e-05/0.3477, allocations: 59.03 kB / 0.5835 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.3477, allocations: 0 / 0.5835 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.3478, allocations: 2.188 kB / 0.5835 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.3479, allocations: 21.02 kB / 0.5835 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.3484, allocations: 183.3 kB / 0.5837 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.3485, allocations: 29.88 kB / 0.5837 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.3486, allocations: 6.812 kB / 0.5837 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.3486, allocations: 20.06 kB / 0.5837 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.3487, allocations: 12.03 kB / 0.5837 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3487, allocations: 0.9062 kB / 0.5837 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.3491, allocations: 170.2 kB / 0.5839 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.3492, allocations: 5.094 kB / 0.5839 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.3492, allocations: 13.69 kB / 0.5839 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.3495, allocations: 143.1 kB / 0.584 GB, free: 1.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3495, allocations: 0.5156 kB / 0.584 GB, free: 1.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3495, allocations: 2.062 kB / 0.584 GB, free: 1.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.3496, allocations: 0 / 0.584 GB, free: 1.945 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.0003585/0.3499, allocations: 350.6 kB / 0.5844 GB, free: 1.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.35, allocations: 8.938 kB / 0.5844 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.35, allocations: 35.94 kB / 0.5844 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3501, allocations: 2.719 kB / 0.5844 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.3502, allocations: 166.5 kB / 0.5846 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.3502, allocations: 33.22 kB / 0.5846 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3502, allocations: 4.812 kB / 0.5846 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3504, allocations: 45.27 kB / 0.5847 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3504, allocations: 0 / 0.5847 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3504, allocations: 4.594 kB / 0.5847 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.3504, allocations: 1.578 kB / 0.5847 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.3505, allocations: 13.27 kB / 0.5847 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.3511, allocations: 0.5841 MB / 0.5852 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.3511, allocations: 16.97 kB / 0.5853 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.3512, allocations: 6.875 kB / 0.5853 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.3513, allocations: 339.5 kB / 0.5856 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.3514, allocations: 39.66 kB / 0.5856 GB, free: 144 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3514, allocations: 7.875 kB / 0.5856 GB, free: 136 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.3515, allocations: 42 kB / 0.5857 GB, free: 96 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.3515, allocations: 51.41 kB / 0.5857 GB, free: 32 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.3516, allocations: 107.7 kB / 0.5858 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3517, allocations: 25.7 kB / 0.5859 GB, free: 15.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.3517, allocations: 89.77 kB / 0.5859 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.3517, allocations: 1.906 kB / 0.5859 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.3518, allocations: 18.62 kB / 0.586 GB, free: 15.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3519, allocations: 316.6 kB / 0.5863 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.3519, allocations: 8.656 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.352, allocations: 21.58 kB / 0.5863 GB, free: 15.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.352, allocations: 17.14 kB / 0.5863 GB, free: 15.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.352, allocations: 0.8438 kB / 0.5863 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.126e-05/0.3521, allocations: 50.91 kB / 0.5864 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3521, allocations: 4.156 kB / 0.5864 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3521, allocations: 4.844 kB / 0.5864 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3522, allocations: 1.625 kB / 0.5864 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.3522, allocations: 5.812 kB / 0.5864 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3522, allocations: 1.031 kB / 0.5864 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3522, allocations: 1.219 kB / 0.5864 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3522, allocations: 2.859 kB / 0.5864 GB, free: 15.38 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 9.055e-05/0.3523, allocations: 117.9 kB / 0.5865 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3524, allocations: 4.938 kB / 0.5865 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.3525, allocations: 123.2 kB / 0.5866 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.513e-05/0.3526, allocations: 177.9 kB / 0.5868 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-05/0.3527, allocations: 189.8 kB / 0.587 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/0.3527, allocations: 178 kB / 0.5871 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.353, allocations: 408.7 kB / 0.5875 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.764e-05/0.353, allocations: 113.5 kB / 0.5876 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.3531, allocations: 103.3 kB / 0.5877 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.069e-05/0.3532, allocations: 181.6 kB / 0.5879 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.3533, allocations: 177.9 kB / 0.5881 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.899e-05/0.3533, allocations: 177.9 kB / 0.5882 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001196/0.3534, allocations: 182.3 kB / 0.5884 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.3536, allocations: 318.6 kB / 0.5887 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.3537, allocations: 184.4 kB / 0.5889 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.3538, allocations: 182.1 kB / 0.5891 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.354, allocations: 114.2 kB / 0.5892 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.3541, allocations: 182.1 kB / 0.5893 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.3541, allocations: 106.5 kB / 0.5894 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.715e-05/0.3542, allocations: 81.91 kB / 0.5895 GB, free: 11.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3542, allocations: 0.7812 kB / 0.5895 GB, free: 11.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.3545, allocations: 45.88 kB / 0.5896 GB, free: 11.97 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.0005776/0.3551, allocations: 0.8545 MB / 0.5904 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.084e-05/0.3552, allocations: 20.19 kB / 0.5904 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3552, allocations: 0 / 0.5904 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3552, allocations: 0.7812 kB / 0.5904 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3557, allocations: 460.1 kB / 0.5909 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3568, allocations: 1.329 MB / 0.5922 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.357, allocations: 0.6746 MB / 0.5928 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.3571, allocations: 7.312 kB / 0.5928 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.3571, allocations: 14.22 kB / 0.5928 GB, free: 8.641 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3571, allocations: 0 / 0.5928 GB, free: 8.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3045/0.6617, allocations: 2.118 MB / 0.5949 GB, free: 8.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/9.519, allocations: 10.64 kB / 0.5949 GB, free: 8.191 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)