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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 102.1 kB / 19.59 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 213.2 kB / 22.87 MB, free: 5.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.5 MB / 256.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002562/0.002562, allocations: 291.3 kB / 313.2 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.261/1.261, allocations: 180.8 MB / 0.5376 GB, free: 12.71 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 102.7 kB / 0.7405 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.175, allocations: 95.39 MB / 0.8337 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006159/0.1812, allocations: 3.804 MB / 0.8374 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.1814, allocations: 167.5 kB / 0.8376 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.1814, allocations: 0 / 0.8376 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.1815, allocations: 11.88 kB / 0.8376 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.1816, allocations: 7.984 kB / 0.8376 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.182, allocations: 91.62 kB / 0.8377 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.1821, allocations: 35.84 kB / 0.8377 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.1821, allocations: 3.984 kB / 0.8377 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.1822, allocations: 19.98 kB / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.1822, allocations: 15.92 kB / 0.8377 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1823, allocations: 0 / 0.8377 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006368/0.1829, allocations: 211.3 kB / 0.8379 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.1829, allocations: 4 kB / 0.8379 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.183, allocations: 15.92 kB / 0.838 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.1831, allocations: 55.88 kB / 0.838 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1831, allocations: 3.938 kB / 0.838 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1831, allocations: 0 / 0.838 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1831, allocations: 4 kB / 0.838 GB, free: 3.438 MB / 0.5762 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.0003784/0.1835, allocations: 262.3 kB / 0.8383 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1835, allocations: 8.75 kB / 0.8383 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1836, allocations: 4.922 kB / 0.8383 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1837, allocations: 114.4 kB / 0.8384 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.1838, allocations: 51.97 kB / 0.8384 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.1838, allocations: 384 / 0.8384 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.184, allocations: 75.33 kB / 0.8385 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.184, allocations: 7.984 kB / 0.8385 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.184, allocations: 3.938 kB / 0.8385 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.184, allocations: 0 / 0.8385 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.184, allocations: 23.92 kB / 0.8386 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1845, allocations: 224 kB / 0.8388 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.925e-05/0.1845, allocations: 18.58 kB / 0.8388 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.434e-05/0.1845, allocations: 4.859 kB / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.1846, allocations: 12.06 kB / 0.8388 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1846, allocations: 30.56 kB / 0.8388 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1846, allocations: 0 / 0.8388 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.1848, allocations: 41.62 kB / 0.8389 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1848, allocations: 55.41 kB / 0.8389 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.1849, allocations: 97.84 kB / 0.839 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1849, allocations: 29.83 kB / 0.839 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.185, allocations: 92.09 kB / 0.8391 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.185, allocations: 3.953 kB / 0.8391 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.185, allocations: 13.72 kB / 0.8391 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1852, allocations: 322.8 kB / 0.8395 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.1852, allocations: 4 kB / 0.8395 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.1852, allocations: 17.66 kB / 0.8395 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.1853, allocations: 25.66 kB / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1853, allocations: 0 / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.965e-05/0.1854, allocations: 45.69 kB / 0.8395 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1854, allocations: 8 kB / 0.8396 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1854, allocations: 0 / 0.8396 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1854, allocations: 3.938 kB / 0.8396 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.1855, allocations: 7.984 kB / 0.8396 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1855, allocations: 4 kB / 0.8396 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.1855, allocations: 4.062 kB / 0.8396 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1855, allocations: 0 / 0.8396 GB, free: 1.641 MB / 0.5762 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 0.0001093/0.1856, allocations: 114.4 kB / 0.8397 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1856, allocations: 0 / 0.8397 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1858, allocations: 121 kB / 0.8398 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.021e-05/0.1859, allocations: 180.2 kB / 0.84 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-05/0.1859, allocations: 180.3 kB / 0.8401 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.819e-05/0.186, allocations: 188.2 kB / 0.8403 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.1863, allocations: 384.2 kB / 0.8407 GB, free: 420 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-05/0.1864, allocations: 104.9 kB / 0.8408 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.1864, allocations: 108.9 kB / 0.8409 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.1865, allocations: 180.3 kB / 0.8411 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.1866, allocations: 188.2 kB / 0.8412 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.634e-05/0.1867, allocations: 176.3 kB / 0.8414 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.968e-05/0.1868, allocations: 180.2 kB / 0.8416 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.187, allocations: 311.7 kB / 0.8419 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.1871, allocations: 112.9 kB / 0.842 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.1872, allocations: 180.2 kB / 0.8422 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1874, allocations: 112.9 kB / 0.8423 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.1875, allocations: 176.3 kB / 0.8424 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.1875, allocations: 105 kB / 0.8425 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.1876, allocations: 83.27 kB / 0.8426 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1876, allocations: 4 kB / 0.8426 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002664/0.1879, allocations: 16 kB / 0.8426 GB, free: 14.31 MB / 0.5919 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.0002189/0.1881, allocations: 194.3 kB / 0.8428 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.1882, allocations: 12 kB / 0.8428 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1882, allocations: 0 / 0.8428 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1882, allocations: 0 / 0.8428 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.1887, allocations: 465.8 kB / 0.8433 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.189, allocations: 197.9 kB / 0.8435 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1893, allocations: 0.6768 MB / 0.8441 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.1894, allocations: 8.219 kB / 0.8441 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.1894, allocations: 11.44 kB / 0.8441 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1894, allocations: 0 / 0.8441 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.003207/0.1926, allocations: 0.6341 MB / 0.8448 GB, free: 12.09 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 660] (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.053253503981978] Failed to read output from testmodel.py, exit status != 0: 0.19976708013564348 0.21523659 0.029030619 Calling exit ...