Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0009935/0.0009935, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009334/0.001927, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000702/0.000702, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00089/0.001592, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9316/0.9316, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08233/1.014, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001854/0.001854, allocations: 230.3 kB / 244.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.003311, allocations: 471 kB / 244.7 MB, free: 14.19 MB / 250.7 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 0.7014/0.7014, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06838/0.7698, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.044e-05, allocations: 2.312 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.182/0.182, allocations: 4.727 MB / 432.5 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009405/0.1829, allocations: 0.8495 MB / 433.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.183, allocations: 0 / 433.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1831, allocations: 26.06 kB / 433.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.1832, allocations: 39.73 kB / 433.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1836, allocations: 181.5 kB / 433.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1837, allocations: 179.1 kB / 433.8 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.402e-05/0.1838, allocations: 10.45 kB / 433.8 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.184, allocations: 130.2 kB / 433.9 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.1841, allocations: 63.66 kB / 434 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1841, allocations: 12.25 kB / 434 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.1843, allocations: 146.3 kB / 434.1 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1843, allocations: 25.44 kB / 434.2 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1844, allocations: 38.06 kB / 434.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1846, allocations: 176.1 kB / 434.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.1846, allocations: 1.203 kB / 434.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1846, allocations: 0 / 434.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.1846, allocations: 1.875 kB / 434.4 MB, free: 1.098 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005942/0.1852, allocations: 489.1 kB / 434.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.1853, allocations: 9.625 kB / 434.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1853, allocations: 14.61 kB / 434.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.1854, allocations: 127.7 kB / 435 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1854, allocations: 6.594 kB / 435 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1854, allocations: 12.47 kB / 435 MB, free: 16.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1856, allocations: 98.95 kB / 435.1 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1856, allocations: 1 kB / 435.1 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.1856, allocations: 4.938 kB / 435.1 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1856, allocations: 3.938 kB / 435.1 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.1857, allocations: 41.58 kB / 435.2 MB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.1861, allocations: 292.4 kB / 435.5 MB, free: 16.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.1862, allocations: 62.39 kB / 435.5 MB, free: 16.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.1862, allocations: 23.83 kB / 435.5 MB, free: 16.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/0.1868, allocations: 429.4 kB / 436 MB, free: 16.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1868, allocations: 36.45 kB / 436 MB, free: 16.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 8.31e-07/0.1868, allocations: 0.5625 kB / 436 MB, free: 16.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001465/0.1869, allocations: 86.88 kB / 436.1 MB, free: 16.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.187, allocations: 54.73 kB / 436.1 MB, free: 15.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.187, allocations: 166.6 kB / 436.3 MB, free: 15.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.1871, allocations: 30.39 kB / 436.3 MB, free: 15.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.1871, allocations: 108.8 kB / 436.4 MB, free: 15.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1871, allocations: 45.64 kB / 436.5 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.1872, allocations: 54.98 kB / 436.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.1872, allocations: 326.3 kB / 436.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.1873, allocations: 19.8 kB / 436.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.1873, allocations: 55.52 kB / 436.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.433e-05/0.1874, allocations: 81 kB / 437 MB, free: 15.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1874, allocations: 1.812 kB / 437 MB, free: 15.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001305/0.1875, allocations: 122.1 kB / 437.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1875, allocations: 7.469 kB / 437.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1875, allocations: 2.953 kB / 437.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.1875, allocations: 1.781 kB / 437.1 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1877, allocations: 61.34 kB / 437.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1877, allocations: 3.625 kB / 437.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.1877, allocations: 22.52 kB / 437.2 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1878, allocations: 6.906 kB / 437.2 MB, free: 15.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 5.584e-05/0.1878, allocations: 128.3 kB / 437.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.1878, allocations: 11.52 kB / 437.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.1879, allocations: 91.56 kB / 437.5 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1879, allocations: 1.312 kB / 437.5 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1879, allocations: 2.906 kB / 437.5 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.188, allocations: 0.5156 kB / 437.5 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.939e-05/0.1881, allocations: 109.4 kB / 437.6 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1881, allocations: 1.359 kB / 437.6 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.1881, allocations: 29.16 kB / 437.6 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.1881, allocations: 16.61 kB / 437.6 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1881, allocations: 2.719 kB / 437.6 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1881, allocations: 6.031 kB / 437.6 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1881, allocations: 2 kB / 437.6 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1882, allocations: 0.625 kB / 437.6 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.1882, allocations: 171.9 kB / 437.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1883, allocations: 4.531 kB / 437.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.1883, allocations: 8.422 kB / 437.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1883, allocations: 11.45 kB / 437.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.1883, allocations: 4.281 kB / 437.8 MB, free: 14.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.87e-05/0.1884, allocations: 35.59 kB / 437.9 MB, free: 14.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1884, allocations: 3 kB / 437.9 MB, free: 14.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000183/0.1886, allocations: 64.44 kB / 437.9 MB, free: 14.89 MB / 426.7 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 (12): * Single equations (assignments): 12 * 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.0001757/0.1887, allocations: 138.2 kB / 438.1 MB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.1889, allocations: 79.5 kB / 438.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.1889, allocations: 2.281 kB / 438.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.1889, allocations: 32.66 kB / 438.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.1891, allocations: 40.88 kB / 438.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/0.1899, allocations: 246.8 kB / 438.5 MB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.1899, allocations: 65.67 kB / 438.5 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.19, allocations: 22.3 kB / 438.5 MB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.1901, allocations: 78.95 kB / 438.6 MB, free: 14.52 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1901, allocations: 0 / 438.6 MB, free: 14.52 MB / 426.7 MB Notification: Performance of Templates: time 0.004725/0.1948, allocations: 3.055 MB / 441.7 MB, free: 14.45 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.318193313665688]