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.001699/0.001699, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001758/0.001758, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002766/0.002766, allocations: 290.8 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.321/1.321, allocations: 180.6 MB / 0.5369 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: 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.002963/0.002963, allocations: 109.6 kB / 0.74 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1721, allocations: 95.37 MB / 0.8331 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006601/0.1787, allocations: 4.397 MB / 0.8374 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1798, allocations: 0.7642 MB / 0.8382 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.1799, allocations: 7.938 kB / 0.8382 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.18, allocations: 23.78 kB / 0.8382 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.1801, allocations: 35.7 kB / 0.8382 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.1806, allocations: 179.3 kB / 0.8384 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1808, allocations: 171.4 kB / 0.8386 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.1809, allocations: 17.3 kB / 0.8386 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1811, allocations: 83.69 kB / 0.8387 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1812, allocations: 75.72 kB / 0.8387 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.1812, allocations: 12 kB / 0.8388 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.1816, allocations: 131.8 kB / 0.8389 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.1817, allocations: 31.91 kB / 0.8389 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.1817, allocations: 67.64 kB / 0.839 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.1821, allocations: 231.2 kB / 0.8392 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1821, allocations: 4 kB / 0.8392 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1821, allocations: 0 / 0.8392 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1821, allocations: 0 / 0.8392 GB, free: 1.574 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008842/0.183, allocations: 409.4 kB / 0.8396 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.183, allocations: 8.75 kB / 0.8396 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.1831, allocations: 16.84 kB / 0.8396 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1832, allocations: 126.4 kB / 0.8397 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1832, allocations: 12.31 kB / 0.8397 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.1832, allocations: 12.38 kB / 0.8398 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.1836, allocations: 117.8 kB / 0.8399 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1836, allocations: 0 / 0.8399 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1836, allocations: 0 / 0.8399 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1836, allocations: 0 / 0.8399 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.184, allocations: 147.9 kB / 0.84 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.185, allocations: 380.2 kB / 0.8404 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1853, allocations: 126.4 kB / 0.8405 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.1855, allocations: 64.81 kB / 0.8406 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.1867, allocations: 480.2 kB / 0.841 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1867, allocations: 30.56 kB / 0.841 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.1867, allocations: 0 / 0.841 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0007005/0.1874, allocations: 213.5 kB / 0.8412 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1875, allocations: 59.28 kB / 0.8413 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1876, allocations: 167.9 kB / 0.8415 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1876, allocations: 33.69 kB / 0.8415 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.1877, allocations: 104.4 kB / 0.8416 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1878, allocations: 43.62 kB / 0.8416 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.1878, allocations: 53.69 kB / 0.8417 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.188, allocations: 326.8 kB / 0.842 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1882, allocations: 75.89 kB / 0.8421 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.1885, allocations: 115.3 kB / 0.8422 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.1889, allocations: 173.6 kB / 0.8423 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1889, allocations: 0 / 0.8423 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006022/0.1895, allocations: 242.2 kB / 0.8426 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1895, allocations: 8 kB / 0.8426 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1896, allocations: 4.094 kB / 0.8426 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1896, allocations: 4 kB / 0.8426 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1898, allocations: 59.84 kB / 0.8427 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1899, allocations: 3.984 kB / 0.8427 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.19, allocations: 31.83 kB / 0.8427 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.19, allocations: 8 kB / 0.8427 GB, free: 13.78 MB / 0.5919 GB 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 0.0001176/0.1902, allocations: 126.4 kB / 0.8428 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1902, allocations: 7.953 kB / 0.8428 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.1907, allocations: 182.9 kB / 0.843 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1907, allocations: 3.938 kB / 0.843 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1907, allocations: 0 / 0.843 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1907, allocations: 4 kB / 0.843 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1909, allocations: 145.2 kB / 0.8431 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1909, allocations: 0 / 0.8431 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.1911, allocations: 31.98 kB / 0.8432 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1911, allocations: 4 kB / 0.8432 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1911, allocations: 3.984 kB / 0.8432 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1911, allocations: 0 / 0.8432 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1911, allocations: 7.938 kB / 0.8432 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.1916, allocations: 255.2 kB / 0.8434 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.1917, allocations: 20 kB / 0.8434 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1917, allocations: 8 kB / 0.8435 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1918, allocations: 11.98 kB / 0.8435 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1919, allocations: 19.91 kB / 0.8435 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1919, allocations: 8 kB / 0.8435 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.532e-05/0.192, allocations: 112 kB / 0.8436 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.192, allocations: 3.938 kB / 0.8436 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000335/0.1923, allocations: 59.88 kB / 0.8437 GB, free: 12.73 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 (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.0002677/0.1926, allocations: 155.6 kB / 0.8438 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.1931, allocations: 175.3 kB / 0.844 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1931, allocations: 4.188 kB / 0.844 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.1933, allocations: 55.95 kB / 0.844 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1937, allocations: 31.11 kB / 0.8441 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.1942, allocations: 261.2 kB / 0.8443 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.28e-05/0.1943, allocations: 93.78 kB / 0.8444 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000102/0.1944, allocations: 18.83 kB / 0.8444 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.1945, allocations: 19.44 kB / 0.8444 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1945, allocations: 0 / 0.8444 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.006885/0.2013, allocations: 2.968 MB / 0.8473 GB, free: 8.973 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.299685699865222] Failed to read output from testmodel.py, exit status != 0: 0.2087648008018732 0.22501147100000002 0.039628709000000005 Calling exit ...