Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001067/0.001067, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001161/0.001161, allocations: 192.2 kB / 16.25 MB, free: 6.156 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7271/0.7271, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.5 kB / 0.5013 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1714, allocations: 80.19 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006468/0.1779, allocations: 3.782 MB / 0.5833 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002221/0.1781, allocations: 147.5 kB / 0.5835 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.1782, allocations: 0 / 0.5835 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.616e-05/0.1783, allocations: 4 kB / 0.5835 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.1784, allocations: 15.91 kB / 0.5835 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1786, allocations: 82.64 kB / 0.5836 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.1787, allocations: 23.92 kB / 0.5836 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1788, allocations: 11.98 kB / 0.5836 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.1789, allocations: 19.86 kB / 0.5836 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.1789, allocations: 8 kB / 0.5836 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.179, allocations: 4 kB / 0.5837 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.1795, allocations: 187.4 kB / 0.5838 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.1795, allocations: 7.984 kB / 0.5838 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1796, allocations: 15.86 kB / 0.5839 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1797, allocations: 52.17 kB / 0.5839 GB, free: 4.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1797, allocations: 0 / 0.5839 GB, free: 4.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1797, allocations: 0 / 0.5839 GB, free: 4.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1797, allocations: 0 / 0.5839 GB, free: 4.656 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.000418/0.1801, allocations: 339.5 kB / 0.5842 GB, free: 4.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1802, allocations: 8.031 kB / 0.5842 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.1802, allocations: 34.75 kB / 0.5843 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.1803, allocations: 0.9375 kB / 0.5843 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.1804, allocations: 164.3 kB / 0.5844 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/0.1805, allocations: 38.25 kB / 0.5845 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1805, allocations: 8.062 kB / 0.5845 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1806, allocations: 37.69 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1806, allocations: 4 kB / 0.5845 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1807, allocations: 4 kB / 0.5845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1807, allocations: 0 / 0.5845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.1807, allocations: 15.98 kB / 0.5845 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.1812, allocations: 337.9 kB / 0.5849 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.1812, allocations: 22.52 kB / 0.5849 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.1812, allocations: 4.859 kB / 0.5849 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.71e-05/0.1813, allocations: 93.14 kB / 0.585 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1814, allocations: 30.56 kB / 0.585 GB, free: 3.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1814, allocations: 0 / 0.585 GB, free: 3.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000154/0.1815, allocations: 37.7 kB / 0.585 GB, free: 3.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1816, allocations: 51.41 kB / 0.5851 GB, free: 3.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.1817, allocations: 109.8 kB / 0.5852 GB, free: 3.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1817, allocations: 25.7 kB / 0.5852 GB, free: 3.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.1817, allocations: 88.17 kB / 0.5853 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-06/0.1818, allocations: 0 / 0.5853 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1818, allocations: 21.7 kB / 0.5853 GB, free: 2.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1819, allocations: 318.8 kB / 0.5856 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.1819, allocations: 0 / 0.5856 GB, free: 2.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.182, allocations: 17.72 kB / 0.5856 GB, free: 2.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1821, allocations: 29.7 kB / 0.5857 GB, free: 2.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1821, allocations: 0 / 0.5857 GB, free: 2.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.602e-05/0.1822, allocations: 53.53 kB / 0.5857 GB, free: 2.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1822, allocations: 4 kB / 0.5857 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1823, allocations: 4 kB / 0.5857 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1823, allocations: 0 / 0.5857 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.1823, allocations: 4 kB / 0.5857 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1823, allocations: 0 / 0.5857 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.1824, allocations: 3.938 kB / 0.5857 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1824, allocations: 12 kB / 0.5857 GB, free: 2.488 MB / 494.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 8.129e-05/0.1825, allocations: 114.4 kB / 0.5858 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1825, allocations: 7.938 kB / 0.5859 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.1826, allocations: 120.2 kB / 0.586 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001216/0.1828, allocations: 176.3 kB / 0.5861 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/0.1828, allocations: 180.2 kB / 0.5863 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/0.1829, allocations: 188.2 kB / 0.5865 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.1832, allocations: 409.1 kB / 0.5869 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.702e-05/0.1833, allocations: 101 kB / 0.587 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.1833, allocations: 101 kB / 0.5871 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.364e-05/0.1834, allocations: 188.2 kB / 0.5873 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.1835, allocations: 180.3 kB / 0.5874 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.797e-05/0.1836, allocations: 180.2 kB / 0.5876 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.06e-05/0.1837, allocations: 188.2 kB / 0.5878 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.1838, allocations: 307.7 kB / 0.5881 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.1839, allocations: 178.1 kB / 0.5882 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.184, allocations: 188.2 kB / 0.5884 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1842, allocations: 105 kB / 0.5885 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.1843, allocations: 180.2 kB / 0.5887 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.1843, allocations: 113 kB / 0.5888 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.1843, allocations: 83.28 kB / 0.5889 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1844, allocations: 0 / 0.5889 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002746/0.1846, allocations: 23.88 kB / 0.5889 GB, free: 15.03 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.000538/0.1852, allocations: 0.8323 MB / 0.5897 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.112e-05/0.1853, allocations: 16 kB / 0.5897 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1853, allocations: 0 / 0.5897 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.1853, allocations: 4.016 kB / 0.5897 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1857, allocations: 457.2 kB / 0.5902 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.187, allocations: 1.321 MB / 0.5915 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1873, allocations: 0.6768 MB / 0.5921 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.1874, allocations: 7.938 kB / 0.5921 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.1875, allocations: 7.438 kB / 0.5921 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1875, allocations: 4 kB / 0.5921 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/0.307, allocations: 1.42 MB / 0.5935 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.3073, allocations: 213.5 kB / 0.5937 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.057, allocations: 0 / 0.5937 GB, free: 10.07 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)