Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.0008863/0.0008861, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009162/0.0009163, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.99/0.99, allocations: 135.3 MB / 426.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 15.98 kB / 0.5071 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1745, allocations: 82.31 MB / 0.5875 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004996/0.1795, allocations: 3.56 MB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001934/0.1798, allocations: 143.7 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.976e-05/0.1798, allocations: 0 / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1799, allocations: 3.938 kB / 0.5911 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.18, allocations: 23.91 kB / 0.5911 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1803, allocations: 59.78 kB / 0.5912 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.526e-05/0.1804, allocations: 43.83 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.1805, allocations: 3.984 kB / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.1805, allocations: 11.94 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.1806, allocations: 19.97 kB / 0.5912 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1807, allocations: 0 / 0.5912 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.1808, allocations: 35.92 kB / 0.5913 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.1809, allocations: 11.91 kB / 0.5913 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.1809, allocations: 29.7 kB / 0.5913 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.181, allocations: 24.27 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.181, allocations: 0 / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.181, allocations: 0 / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1811, allocations: 0 / 0.5913 GB, free: 15.04 MB / 0.4981 GB 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.0003869/0.1815, allocations: 331.3 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1815, allocations: 8.031 kB / 0.5917 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1816, allocations: 34.56 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1816, allocations: 11.95 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1817, allocations: 167 kB / 0.5919 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.1818, allocations: 29.69 kB / 0.5919 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1818, allocations: 4 kB / 0.5919 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1819, allocations: 37.69 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.182, allocations: 3.938 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.182, allocations: 0 / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.182, allocations: 4 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.182, allocations: 23.94 kB / 0.592 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1825, allocations: 334.1 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.1825, allocations: 14.58 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.1825, allocations: 4.859 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.007e-05/0.1826, allocations: 89.16 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1827, allocations: 42.5 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.214e-06/0.1827, allocations: 0 / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.1828, allocations: 41.5 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1829, allocations: 55.41 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.183, allocations: 101.8 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.183, allocations: 25.7 kB / 0.5926 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.183, allocations: 91.98 kB / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.183, allocations: 0 / 0.5927 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.1831, allocations: 4.125 kB / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1832, allocations: 314.8 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.1832, allocations: 7.984 kB / 0.593 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.1832, allocations: 17.66 kB / 0.593 GB, free: 13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.081e-05/0.1832, allocations: 4 kB / 0.5931 GB, free: 13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1832, allocations: 0 / 0.5931 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.914e-05/0.1833, allocations: 49.72 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1833, allocations: 4 kB / 0.5931 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1834, allocations: 0 / 0.5931 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1834, allocations: 7.953 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.1834, allocations: 7.938 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1834, allocations: 3.984 kB / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.1835, allocations: 0 / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1835, allocations: 8 kB / 0.5931 GB, free: 12.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.1836, allocations: 109.8 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1836, allocations: 11.94 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1837, allocations: 113 kB / 0.5934 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.207e-05/0.1838, allocations: 192.1 kB / 0.5935 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.167e-05/0.1839, allocations: 180.2 kB / 0.5937 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-05/0.1839, allocations: 180.2 kB / 0.5939 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1841, allocations: 409.5 kB / 0.5943 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.1842, allocations: 101 kB / 0.5944 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.1842, allocations: 104.9 kB / 0.5945 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.742e-05/0.1843, allocations: 184.2 kB / 0.5946 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.1843, allocations: 180.2 kB / 0.5948 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-05/0.1844, allocations: 176.3 kB / 0.595 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.964e-05/0.1844, allocations: 184.2 kB / 0.5952 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1846, allocations: 315.7 kB / 0.5955 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.1846, allocations: 182 kB / 0.5956 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.726e-05/0.1847, allocations: 180.3 kB / 0.5958 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1849, allocations: 116.9 kB / 0.5959 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.185, allocations: 192.2 kB / 0.5961 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.185, allocations: 101 kB / 0.5962 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.185, allocations: 91.22 kB / 0.5963 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.185, allocations: 0 / 0.5963 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002418/0.1853, allocations: 19.94 kB / 0.5963 GB, free: 9.438 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 (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.0003695/0.1857, allocations: 0.8165 MB / 0.5971 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.1857, allocations: 11.98 kB / 0.5971 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1858, allocations: 0 / 0.5971 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.1858, allocations: 3.938 kB / 0.5971 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1862, allocations: 0.5265 MB / 0.5976 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.1866, allocations: 217.5 kB / 0.5978 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1868, allocations: 0.677 MB / 0.5985 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.1868, allocations: 8 kB / 0.5985 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.1869, allocations: 7.438 kB / 0.5985 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1869, allocations: 4 kB / 0.5985 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.1985, allocations: 1.233 MB / 0.5997 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.1987, allocations: 187.6 kB / 0.5999 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.92, allocations: 0 / 0.5999 GB, free: 5.742 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: