Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 103.1 kB / 16.36 MB, free: 6.305 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.001358/0.001358, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.938/1.938, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 72.45 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.261, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.4242/0.6852, allocations: 3.721 MB / 0.7884 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.6855, allocations: 157.9 kB / 0.7885 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.6856, allocations: 2.656 kB / 0.7885 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.6858, allocations: 5.375 kB / 0.7886 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.6859, allocations: 14.05 kB / 0.7886 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.6862, allocations: 70.83 kB / 0.7886 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.6863, allocations: 31.12 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.6864, allocations: 4.344 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.6864, allocations: 14.69 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.6865, allocations: 13.92 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6865, allocations: 0.75 kB / 0.7887 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.687, allocations: 191.2 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.6871, allocations: 0.6562 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.6871, allocations: 18.27 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.6873, allocations: 37.61 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6873, allocations: 0 / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6873, allocations: 2.688 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6873, allocations: 1.969 kB / 0.7889 GB, free: 46.43 MB / 0.6544 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.0003524/0.6876, allocations: 343.2 kB / 0.7893 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.6877, allocations: 7.875 kB / 0.7893 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.6877, allocations: 3.875 kB / 0.7893 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.6878, allocations: 170.1 kB / 0.7894 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.6879, allocations: 28.89 kB / 0.7895 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.6879, allocations: 4.453 kB / 0.7895 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.688, allocations: 49.08 kB / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.6881, allocations: 0 / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6881, allocations: 0 / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.6881, allocations: 3.531 kB / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.6882, allocations: 13.06 kB / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.6885, allocations: 333.6 kB / 0.7898 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.6886, allocations: 23.27 kB / 0.7899 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.6886, allocations: 8.234 kB / 0.7899 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.516e-05/0.6887, allocations: 84.17 kB / 0.79 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.6887, allocations: 34.31 kB / 0.79 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.6887, allocations: 0.625 kB / 0.79 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.6888, allocations: 43.83 kB / 0.79 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.6889, allocations: 52.16 kB / 0.7901 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.6889, allocations: 98.84 kB / 0.7902 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.689, allocations: 33.11 kB / 0.7902 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.689, allocations: 93.27 kB / 0.7903 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.689, allocations: 3.469 kB / 0.7903 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.689, allocations: 18.25 kB / 0.7903 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.6891, allocations: 320.4 kB / 0.7906 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.6891, allocations: 3.75 kB / 0.7906 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.6891, allocations: 14.91 kB / 0.7906 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.6892, allocations: 25.39 kB / 0.7907 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6892, allocations: 0 / 0.7907 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.359e-05/0.6893, allocations: 49.78 kB / 0.7907 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.6893, allocations: 5.531 kB / 0.7907 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6893, allocations: 0 / 0.7907 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6893, allocations: 3.969 kB / 0.7907 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.21e-05/0.6894, allocations: 9.047 kB / 0.7907 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.6894, allocations: 2.719 kB / 0.7907 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.6894, allocations: 3.906 kB / 0.7907 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.6894, allocations: 5.156 kB / 0.7907 GB, free: 44.57 MB / 0.6544 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 4.712e-05/0.6895, allocations: 112.2 kB / 0.7909 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.6895, allocations: 2.469 kB / 0.7909 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.665e-05/0.6896, allocations: 123.2 kB / 0.791 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.6896, allocations: 186.7 kB / 0.7911 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.938e-05/0.6896, allocations: 178.7 kB / 0.7913 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/0.6897, allocations: 177.8 kB / 0.7915 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.6898, allocations: 411.9 kB / 0.7919 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.6898, allocations: 107.1 kB / 0.792 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.6899, allocations: 103.5 kB / 0.7921 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/0.6899, allocations: 182.5 kB / 0.7923 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.6899, allocations: 181.3 kB / 0.7924 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.463e-05/0.6899, allocations: 180.5 kB / 0.7926 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/0.69, allocations: 185.1 kB / 0.7928 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.139e-05/0.6901, allocations: 311.9 kB / 0.7931 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.6901, allocations: 185.2 kB / 0.7933 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.6901, allocations: 182.4 kB / 0.7934 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.6903, allocations: 108.9 kB / 0.7935 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.6903, allocations: 179.5 kB / 0.7937 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.6903, allocations: 108.3 kB / 0.7938 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.716e-05/0.6904, allocations: 81.5 kB / 0.7939 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6904, allocations: 4.188 kB / 0.7939 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002226/0.6906, allocations: 14.66 kB / 0.7939 GB, free: 41.26 MB / 0.6544 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.0001936/0.6908, allocations: 201.6 kB / 0.7941 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.826e-05/0.6909, allocations: 15.75 kB / 0.7941 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.6909, allocations: 0 / 0.7941 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.6909, allocations: 3.656 kB / 0.7941 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.6913, allocations: 466.2 kB / 0.7946 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.6915, allocations: 204.8 kB / 0.7948 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.6916, allocations: 0.6749 MB / 0.7954 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.6917, allocations: 10.16 kB / 0.7954 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6917, allocations: 4.938 kB / 0.7954 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.002039/0.6937, allocations: 0.7331 MB / 0.7961 GB, free: 39.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)