Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007525/0.0007525, allocations: 93.03 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 185.5 kB / 16.92 MB, free: 6.934 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7046/0.7046, allocations: 115.4 MB / 407.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 8 kB / 495.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1806, allocations: 77.51 MB / 0.5598 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004287/0.1849, allocations: 3.413 MB / 0.5631 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001975/0.1851, allocations: 155.5 kB / 0.5633 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.1852, allocations: 0 / 0.5633 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.594e-05/0.1853, allocations: 0 / 0.5633 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.1853, allocations: 15.92 kB / 0.5633 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.1856, allocations: 83.12 kB / 0.5634 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.727e-05/0.1857, allocations: 55.83 kB / 0.5634 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1858, allocations: 4 kB / 0.5634 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.1858, allocations: 19.91 kB / 0.5634 GB, free: 5.406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.1859, allocations: 15.98 kB / 0.5634 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1859, allocations: 0 / 0.5634 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.1864, allocations: 183.5 kB / 0.5636 GB, free: 5.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.1864, allocations: 7.922 kB / 0.5636 GB, free: 5.203 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.1865, allocations: 37.7 kB / 0.5637 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1866, allocations: 56.05 kB / 0.5637 GB, free: 5.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1866, allocations: 4 kB / 0.5637 GB, free: 5.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1866, allocations: 0 / 0.5637 GB, free: 5.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.1866, allocations: 0 / 0.5637 GB, free: 5.102 MB / 430.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.0003345/0.187, allocations: 323.5 kB / 0.564 GB, free: 4.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.187, allocations: 8.031 kB / 0.564 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.1871, allocations: 4.938 kB / 0.564 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1872, allocations: 164.4 kB / 0.5642 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.1872, allocations: 30.27 kB / 0.5642 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1872, allocations: 4.375 kB / 0.5642 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1874, allocations: 49.56 kB / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1874, allocations: 0 / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1874, allocations: 3.938 kB / 0.5643 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1874, allocations: 0 / 0.5643 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.1875, allocations: 19.98 kB / 0.5643 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1879, allocations: 341.9 kB / 0.5646 GB, free: 4.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.226e-05/0.1879, allocations: 18.58 kB / 0.5646 GB, free: 3.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.334e-05/0.188, allocations: 4.859 kB / 0.5647 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.805e-05/0.188, allocations: 89.16 kB / 0.5647 GB, free: 3.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1881, allocations: 34.5 kB / 0.5648 GB, free: 3.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1881, allocations: 0 / 0.5648 GB, free: 3.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000128/0.1882, allocations: 41.61 kB / 0.5648 GB, free: 3.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.1883, allocations: 55.41 kB / 0.5649 GB, free: 3.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.1884, allocations: 97.84 kB / 0.565 GB, free: 3.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1884, allocations: 25.7 kB / 0.565 GB, free: 3.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.1884, allocations: 92.05 kB / 0.5651 GB, free: 3.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.1884, allocations: 0 / 0.5651 GB, free: 3.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.1885, allocations: 9.719 kB / 0.5651 GB, free: 3.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1886, allocations: 318.8 kB / 0.5654 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.1886, allocations: 8.125 kB / 0.5654 GB, free: 3.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.181e-05/0.1886, allocations: 25.59 kB / 0.5654 GB, free: 3.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.1887, allocations: 17.72 kB / 0.5654 GB, free: 3.082 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1887, allocations: 0 / 0.5654 GB, free: 3.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.572e-05/0.1888, allocations: 53.62 kB / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1888, allocations: 4 kB / 0.5655 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1888, allocations: 0 / 0.5655 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1888, allocations: 4.062 kB / 0.5655 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.1888, allocations: 11.98 kB / 0.5655 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1889, allocations: 0 / 0.5655 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1889, allocations: 4 kB / 0.5655 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1889, allocations: 4 kB / 0.5655 GB, free: 2.996 MB / 430.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.328e-05/0.189, allocations: 109.8 kB / 0.5656 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.189, allocations: 3.906 kB / 0.5656 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.989e-05/0.1891, allocations: 129.2 kB / 0.5657 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/0.1892, allocations: 176.3 kB / 0.5659 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.468e-05/0.1892, allocations: 184.2 kB / 0.5661 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-05/0.1893, allocations: 180.2 kB / 0.5663 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.1895, allocations: 409.2 kB / 0.5666 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/0.1896, allocations: 104.9 kB / 0.5667 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.1896, allocations: 109 kB / 0.5669 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-05/0.1897, allocations: 180.2 kB / 0.567 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.1898, allocations: 180.3 kB / 0.5672 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-05/0.1898, allocations: 180.2 kB / 0.5674 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.259e-05/0.1899, allocations: 188.2 kB / 0.5675 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.19, allocations: 311.7 kB / 0.5678 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.1901, allocations: 186.1 kB / 0.568 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.1902, allocations: 176.3 kB / 0.5682 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1904, allocations: 112.9 kB / 0.5683 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.1904, allocations: 180.3 kB / 0.5685 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.1905, allocations: 104.9 kB / 0.5686 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.1905, allocations: 91.27 kB / 0.5687 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1905, allocations: 0 / 0.5687 GB, free: 15.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1908, allocations: 19.94 kB / 0.5687 GB, free: 15.54 MB / 446.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.000233/0.191, allocations: 194.4 kB / 0.5689 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.486e-05/0.1911, allocations: 15.94 kB / 0.5689 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1911, allocations: 4 kB / 0.5689 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.1911, allocations: 0 / 0.5689 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.1915, allocations: 0.5224 MB / 0.5694 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.1918, allocations: 192 kB / 0.5696 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.192, allocations: 0.6808 MB / 0.5702 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.761e-05/0.192, allocations: 4 kB / 0.5702 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.1921, allocations: 11.44 kB / 0.5703 GB, free: 13.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1921, allocations: 0 / 0.5703 GB, free: 13.85 MB / 446.1 MB Notification: Performance of Templates: time 0.002576/0.1947, allocations: 0.619 MB / 0.5709 GB, free: 13.26 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)