Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001162/0.001163, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 287.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9702/0.9702, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 91.23 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1726, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005551/0.1782, allocations: 3.767 MB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.1785, allocations: 163.5 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.1785, allocations: 0 / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1786, allocations: 4 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.1788, allocations: 19.91 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.1791, allocations: 74.52 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.1792, allocations: 55.83 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.1792, allocations: 4 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.1793, allocations: 19.91 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.1794, allocations: 15.98 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1794, allocations: 0 / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000598/0.18, allocations: 195.5 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.18, allocations: 3.984 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.1801, allocations: 11.94 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.1802, allocations: 44.17 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1802, allocations: 0 / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1802, allocations: 3.938 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1802, allocations: 0 / 0.6837 GB, free: 12.82 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.000364/0.1806, allocations: 339.5 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1806, allocations: 8.031 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.1807, allocations: 4.938 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1808, allocations: 164.3 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.1809, allocations: 34.2 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1809, allocations: 4.375 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.181, allocations: 45.61 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.181, allocations: 0 / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.181, allocations: 4 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.1811, allocations: 3.984 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.1811, allocations: 16 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1815, allocations: 330 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.1816, allocations: 22.52 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.1816, allocations: 8.844 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.1817, allocations: 89.17 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1817, allocations: 30.56 kB / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1817, allocations: 0 / 0.6848 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.1819, allocations: 41.59 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.1819, allocations: 55.41 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.182, allocations: 101.8 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.182, allocations: 25.7 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.182, allocations: 92.25 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-06/0.182, allocations: 3.906 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.1821, allocations: 17.72 kB / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.1822, allocations: 314.8 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.1822, allocations: 11.94 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/0.1822, allocations: 17.7 kB / 0.6854 GB, free: 10.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.1823, allocations: 21.72 kB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1823, allocations: 0 / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.285e-05/0.1824, allocations: 49.62 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1824, allocations: 8 kB / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1824, allocations: 0 / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1824, allocations: 3.938 kB / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.1825, allocations: 4 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1825, allocations: 4 kB / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.1825, allocations: 0 / 0.6855 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1825, allocations: 8.047 kB / 0.6855 GB, free: 10.7 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 7.011e-05/0.1826, allocations: 123 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1826, allocations: 3.906 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-05/0.1827, allocations: 113 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.196e-05/0.1828, allocations: 180.2 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/0.1828, allocations: 180.2 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.153e-05/0.1829, allocations: 188.5 kB / 0.6863 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.1831, allocations: 409 kB / 0.6866 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.1831, allocations: 105 kB / 0.6867 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.1832, allocations: 105 kB / 0.6868 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.339e-05/0.1832, allocations: 184.2 kB / 0.687 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.1833, allocations: 184.2 kB / 0.6872 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.234e-05/0.1834, allocations: 188.2 kB / 0.6874 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.297e-05/0.1834, allocations: 176.3 kB / 0.6875 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1835, allocations: 307.7 kB / 0.6878 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.1836, allocations: 186.1 kB / 0.688 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.1837, allocations: 184.2 kB / 0.6882 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1838, allocations: 101 kB / 0.6883 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.1839, allocations: 192.2 kB / 0.6885 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1839, allocations: 101 kB / 0.6886 GB, free: 7.344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.184, allocations: 83.28 kB / 0.6886 GB, free: 7.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.184, allocations: 0 / 0.6886 GB, free: 7.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1842, allocations: 20 kB / 0.6887 GB, free: 7.242 MB / 494.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.0002328/0.1844, allocations: 198.4 kB / 0.6889 GB, free: 7.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.737e-05/0.1845, allocations: 15.92 kB / 0.6889 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1845, allocations: 4 kB / 0.6889 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.1845, allocations: 0 / 0.6889 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1849, allocations: 0.5265 MB / 0.6894 GB, free: 6.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/0.1852, allocations: 183.9 kB / 0.6896 GB, free: 6.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.1854, allocations: 0.677 MB / 0.6902 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.531e-05/0.1854, allocations: 19.23 kB / 0.6902 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.1854, allocations: 11.44 kB / 0.6903 GB, free: 5.555 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1854, allocations: 0 / 0.6903 GB, free: 5.555 MB / 494.1 MB Notification: Performance of Templates: time 0.002614/0.1881, allocations: 0.6216 MB / 0.6909 GB, free: 4.945 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)