Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001473/0.001473, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001599/0.001599, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9861/0.9861, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 63.5 kB / 0.505 GB, free: 5.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.127, allocations: 80.93 MB / 0.584 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003896/0.1309, allocations: 3.335 MB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 7.708e-05/0.131, allocations: 51.86 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.1311, allocations: 3.938 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.435e-05/0.1311, allocations: 3.938 kB / 0.5873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.1312, allocations: 11.97 kB / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.1317, allocations: 175.4 kB / 0.5875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.1318, allocations: 31.84 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.177e-05/0.1318, allocations: 0 / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.1318, allocations: 23.92 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.1319, allocations: 11.97 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1319, allocations: 4 kB / 0.5876 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.1322, allocations: 175.5 kB / 0.5877 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.1322, allocations: 4 kB / 0.5877 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1323, allocations: 19.91 kB / 0.5877 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1325, allocations: 139.9 kB / 0.5879 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1325, allocations: 0 / 0.5879 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1325, allocations: 4 kB / 0.5879 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1325, allocations: 0 / 0.5879 GB, free: 0.8086 MB / 494.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.0003383/0.1329, allocations: 343.4 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1329, allocations: 8.031 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.1329, allocations: 34.73 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.133, allocations: 4.938 kB / 0.5883 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.1331, allocations: 164.4 kB / 0.5884 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.1331, allocations: 30.27 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1332, allocations: 8.125 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1333, allocations: 41.62 kB / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1333, allocations: 0 / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1333, allocations: 3.984 kB / 0.5885 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.1333, allocations: 4 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.1334, allocations: 12 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.1339, allocations: 0.5833 MB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.1339, allocations: 26.56 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.134, allocations: 4.859 kB / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.1342, allocations: 348.4 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1342, allocations: 30.56 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1342, allocations: 3.938 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.1343, allocations: 41.61 kB / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1344, allocations: 59.39 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.1344, allocations: 97.86 kB / 0.5897 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1344, allocations: 25.7 kB / 0.5897 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1345, allocations: 84.14 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-06/0.1345, allocations: 7.891 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.1345, allocations: 17.72 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.1346, allocations: 314.9 kB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.1346, allocations: 15.88 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.1347, allocations: 17.89 kB / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.1347, allocations: 17.72 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1347, allocations: 0 / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.981e-05/0.1348, allocations: 53.72 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1348, allocations: 4.062 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1348, allocations: 4 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1348, allocations: 3.984 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.1349, allocations: 4 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1349, allocations: 4 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1349, allocations: 7.938 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1349, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB 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.153e-05/0.135, allocations: 121.8 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.135, allocations: 3.906 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.464e-05/0.1351, allocations: 127.9 kB / 0.5905 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.482e-05/0.1351, allocations: 180.2 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/0.1352, allocations: 180.2 kB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.201e-05/0.1352, allocations: 184.3 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1354, allocations: 401.2 kB / 0.5914 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.1355, allocations: 112.9 kB / 0.5915 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.1355, allocations: 101 kB / 0.5916 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.49e-05/0.1355, allocations: 184.3 kB / 0.5917 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.1356, allocations: 184.3 kB / 0.5919 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-05/0.1356, allocations: 180.3 kB / 0.5921 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.39e-05/0.1357, allocations: 184.2 kB / 0.5923 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.998e-05/0.1358, allocations: 307.7 kB / 0.5926 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.1359, allocations: 182.1 kB / 0.5927 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.1359, allocations: 188.1 kB / 0.5929 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1361, allocations: 105 kB / 0.593 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.1361, allocations: 192.3 kB / 0.5932 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.1361, allocations: 104.9 kB / 0.5933 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.1362, allocations: 79.28 kB / 0.5934 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1362, allocations: 0 / 0.5934 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002483/0.1364, allocations: 39.92 kB / 0.5934 GB, free: 10.53 MB / 0.4981 GB 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.0004163/0.1369, allocations: 0.8585 MB / 0.5942 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.1369, allocations: 15.92 kB / 0.5943 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1369, allocations: 0 / 0.5943 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.1369, allocations: 4 kB / 0.5943 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1373, allocations: 463.1 kB / 0.5947 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008157/0.1382, allocations: 1.34 MB / 0.596 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.1383, allocations: 0.669 MB / 0.5967 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.1384, allocations: 14.47 kB / 0.5967 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1384, allocations: 11.42 kB / 0.5967 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1384, allocations: 0 / 0.5967 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.867/4.005, allocations: 2.03 MB / 0.5987 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/4.005, allocations: 252.2 kB / 0.5989 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/6.366, allocations: 0 / 0.5989 GB, free: 4.961 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)