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.001408/0.001409, allocations: 111.3 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.001479/0.001479, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002676/0.002676, allocations: 275.2 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.126/1.126, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 92.97 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1725, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005618/0.1781, allocations: 3.791 MB / 0.6965 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.1784, allocations: 155.5 kB / 0.6966 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.1784, allocations: 4 kB / 0.6966 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.308e-05/0.1785, allocations: 7.938 kB / 0.6966 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.1786, allocations: 11.92 kB / 0.6966 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.1789, allocations: 67.83 kB / 0.6967 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.179, allocations: 63.81 kB / 0.6968 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.179, allocations: 0 / 0.6968 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.1791, allocations: 15.92 kB / 0.6968 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.1792, allocations: 15.97 kB / 0.6968 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1792, allocations: 4 kB / 0.6968 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005465/0.1797, allocations: 199.4 kB / 0.697 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.1798, allocations: 7.984 kB / 0.697 GB, free: 500 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.1798, allocations: 11.94 kB / 0.697 GB, free: 488 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.18, allocations: 40.17 kB / 0.697 GB, free: 448 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.18, allocations: 0 / 0.697 GB, free: 448 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.18, allocations: 0 / 0.697 GB, free: 448 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.18, allocations: 3.938 kB / 0.6971 GB, free: 444 kB / 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.0004246/0.1804, allocations: 343.5 kB / 0.6974 GB, free: 52 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1805, allocations: 12.03 kB / 0.6974 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1805, allocations: 0.9375 kB / 0.6974 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1807, allocations: 164.3 kB / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.1807, allocations: 34.27 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1807, allocations: 384 / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1809, allocations: 41.62 kB / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1809, allocations: 0 / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1809, allocations: 3.938 kB / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.1809, allocations: 11.98 kB / 0.6976 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.181, allocations: 15.94 kB / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1814, allocations: 337.9 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.37e-05/0.1815, allocations: 14.58 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.1815, allocations: 12.91 kB / 0.698 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/0.1816, allocations: 81.11 kB / 0.6981 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1816, allocations: 34.56 kB / 0.6981 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 4.92e-06/0.1817, allocations: 3.984 kB / 0.6981 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1818, allocations: 45.62 kB / 0.6982 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1818, allocations: 51.41 kB / 0.6982 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.1819, allocations: 97.86 kB / 0.6983 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.182, allocations: 29.7 kB / 0.6983 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.182, allocations: 92.02 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.182, allocations: 4.125 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1821, allocations: 17.72 kB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1822, allocations: 314.8 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.1822, allocations: 4 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.1823, allocations: 17.7 kB / 0.6988 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.1823, allocations: 25.66 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1823, allocations: 4 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.996e-05/0.1824, allocations: 45.69 kB / 0.6988 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1824, allocations: 5.406 kB / 0.6988 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1824, allocations: 4 kB / 0.6988 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1824, allocations: 4 kB / 0.6988 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.48e-05/0.1825, allocations: 7.938 kB / 0.6989 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1825, allocations: 3.938 kB / 0.6989 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.1825, allocations: 3.906 kB / 0.6989 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1825, allocations: 7.984 kB / 0.6989 GB, free: 14.3 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 8.193e-05/0.1826, allocations: 117.8 kB / 0.699 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1827, allocations: 0 / 0.699 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.1828, allocations: 116 kB / 0.6991 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-05/0.1829, allocations: 188.2 kB / 0.6993 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.562e-05/0.1829, allocations: 176.3 kB / 0.6994 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.919e-05/0.183, allocations: 188.2 kB / 0.6996 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.1833, allocations: 405.2 kB / 0.7 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.1833, allocations: 101 kB / 0.7001 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.1834, allocations: 104.9 kB / 0.7002 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-05/0.1835, allocations: 184.3 kB / 0.7004 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.1836, allocations: 192.2 kB / 0.7006 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.296e-05/0.1836, allocations: 176.3 kB / 0.7007 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.329e-05/0.1837, allocations: 176.3 kB / 0.7009 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.1839, allocations: 311.6 kB / 0.7012 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.184, allocations: 190 kB / 0.7014 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.1841, allocations: 180.3 kB / 0.7015 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1843, allocations: 105 kB / 0.7016 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.1844, allocations: 184.2 kB / 0.7018 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.1844, allocations: 105 kB / 0.7019 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.1845, allocations: 79.28 kB / 0.702 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1845, allocations: 4 kB / 0.702 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002403/0.1847, allocations: 19.94 kB / 0.702 GB, free: 10.86 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.0002368/0.185, allocations: 198.4 kB / 0.7022 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.41e-05/0.185, allocations: 19.92 kB / 0.7022 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1851, allocations: 0 / 0.7022 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1851, allocations: 0 / 0.7022 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1855, allocations: 0.5226 MB / 0.7027 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.1858, allocations: 191.8 kB / 0.7029 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.186, allocations: 0.6692 MB / 0.7036 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.1861, allocations: 11.98 kB / 0.7036 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.1861, allocations: 11.44 kB / 0.7036 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1861, allocations: 0 / 0.7036 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of Templates: time 0.002916/0.189, allocations: 0.6231 MB / 0.7042 GB, free: 8.559 MB / 0.4981 GB 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)