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.001242/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001275/0.001275, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9316/0.9316, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 68.89 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1351, allocations: 80.92 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00456/0.1397, allocations: 3.346 MB / 0.5871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 9.629e-05/0.1398, allocations: 51.8 kB / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.1398, allocations: 0 / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.769e-05/0.1399, allocations: 4 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.14, allocations: 15.91 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.1405, allocations: 174.2 kB / 0.5873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.69e-05/0.1406, allocations: 59.88 kB / 0.5874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.122e-05/0.1406, allocations: 0 / 0.5874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.1407, allocations: 15.92 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.1407, allocations: 15.92 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1407, allocations: 0 / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.1411, allocations: 167.6 kB / 0.5876 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.1411, allocations: 11.98 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1412, allocations: 11.92 kB / 0.5876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1414, allocations: 139.9 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1414, allocations: 0 / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1414, allocations: 0 / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1414, allocations: 0 / 0.5877 GB, free: 0.8984 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.0003681/0.1418, allocations: 355.4 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1419, allocations: 16.03 kB / 0.5881 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1419, allocations: 30.75 kB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.1419, allocations: 0.9375 kB / 0.5881 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.515e-05/0.142, allocations: 164.3 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.1421, allocations: 34.25 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1421, allocations: 4.125 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1423, allocations: 45.69 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1423, allocations: 0 / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1423, allocations: 0 / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.1423, allocations: 4 kB / 0.5883 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.1423, allocations: 15.97 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.1429, allocations: 0.591 MB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.645e-05/0.143, allocations: 18.52 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.143, allocations: 8.922 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.1432, allocations: 344.4 kB / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1432, allocations: 34.56 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1432, allocations: 3.938 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.1434, allocations: 41.55 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1434, allocations: 51.41 kB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.1435, allocations: 105.8 kB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1435, allocations: 25.7 kB / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.1436, allocations: 80.14 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/0.1436, allocations: 12.03 kB / 0.5896 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1436, allocations: 17.7 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.1437, allocations: 314.8 kB / 0.5899 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.1437, allocations: 4 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.1437, allocations: 17.72 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.1438, allocations: 33.7 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1438, allocations: 7.938 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.142e-05/0.1439, allocations: 37.7 kB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1439, allocations: 7.984 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1439, allocations: 0 / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1439, allocations: 4 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.144, allocations: 4 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.144, allocations: 0 / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.144, allocations: 11.88 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.144, allocations: 4 kB / 0.5901 GB, free: 14.09 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.215e-05/0.1441, allocations: 113.8 kB / 0.5902 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1441, allocations: 7.906 kB / 0.5902 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.171e-05/0.1442, allocations: 113 kB / 0.5903 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/0.1443, allocations: 188.2 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.075e-05/0.1443, allocations: 176.3 kB / 0.5906 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.802e-05/0.1444, allocations: 184.2 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1446, allocations: 409.1 kB / 0.5912 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/0.1446, allocations: 105 kB / 0.5913 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.1447, allocations: 104.9 kB / 0.5914 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.897e-05/0.1447, allocations: 180.3 kB / 0.5916 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.1448, allocations: 176.3 kB / 0.5917 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-05/0.1448, allocations: 184.4 kB / 0.5919 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.951e-05/0.1449, allocations: 184.3 kB / 0.5921 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.145, allocations: 307.7 kB / 0.5924 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.1451, allocations: 182.1 kB / 0.5926 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.1451, allocations: 196.1 kB / 0.5928 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1453, allocations: 112.9 kB / 0.5929 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.1453, allocations: 180.2 kB / 0.593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.1454, allocations: 105 kB / 0.5931 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.1454, allocations: 91.28 kB / 0.5932 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1454, allocations: 0 / 0.5932 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002575/0.1457, allocations: 31.94 kB / 0.5932 GB, free: 10.61 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.0004643/0.1462, allocations: 0.8704 MB / 0.5941 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.222e-05/0.1462, allocations: 12 kB / 0.5941 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1462, allocations: 0 / 0.5941 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1462, allocations: 0 / 0.5941 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1466, allocations: 0.5323 MB / 0.5946 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008714/0.1475, allocations: 1.33 MB / 0.5959 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1477, allocations: 0.677 MB / 0.5966 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.1478, allocations: 8 kB / 0.5966 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.1478, allocations: 7.438 kB / 0.5966 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1478, allocations: 0 / 0.5966 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2545/0.4024, allocations: 2.004 MB / 0.5986 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.4027, allocations: 246.3 kB / 0.5988 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.181, allocations: 0 / 0.5988 GB, free: 4.973 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)