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.001534/0.001534, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001743/0.001743, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.357/1.357, allocations: 230.6 MB / 256 MB, free: 8.047 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.002454/0.002454, allocations: 295.2 kB / 312.7 MB, free: 2.84 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.147/1.147, allocations: 180.6 MB / 0.5369 GB, free: 13.12 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 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: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [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.002723/0.002723, allocations: 101 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1641, allocations: 95.4 MB / 0.8327 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006769/0.1709, allocations: 4.664 MB / 0.8373 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1721, allocations: 0.838 MB / 0.8381 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.787e-05/0.1722, allocations: 4 kB / 0.8381 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1723, allocations: 27.77 kB / 0.8381 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.1724, allocations: 35.7 kB / 0.8382 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.173, allocations: 171.4 kB / 0.8383 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1732, allocations: 175.4 kB / 0.8385 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.1733, allocations: 17.09 kB / 0.8385 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1735, allocations: 87.69 kB / 0.8386 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1737, allocations: 79.67 kB / 0.8387 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1737, allocations: 16 kB / 0.8387 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.174, allocations: 151.8 kB / 0.8388 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.1741, allocations: 31.92 kB / 0.8389 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.1742, allocations: 79.64 kB / 0.839 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.1746, allocations: 231.5 kB / 0.8392 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1746, allocations: 3.938 kB / 0.8392 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1746, allocations: 0 / 0.8392 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.1746, allocations: 0 / 0.8392 GB, free: 2.059 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.0008781/0.1754, allocations: 410.3 kB / 0.8396 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1755, allocations: 13.94 kB / 0.8396 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.1755, allocations: 42.69 kB / 0.8396 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.1756, allocations: 16.84 kB / 0.8396 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1757, allocations: 129 kB / 0.8398 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1757, allocations: 8.375 kB / 0.8398 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1757, allocations: 8.375 kB / 0.8398 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1761, allocations: 127.3 kB / 0.8399 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1761, allocations: 3.938 kB / 0.8399 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1761, allocations: 7.922 kB / 0.8399 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1761, allocations: 4 kB / 0.8399 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.1765, allocations: 135.9 kB / 0.84 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009555/0.1774, allocations: 439.5 kB / 0.8405 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1777, allocations: 114.5 kB / 0.8406 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1779, allocations: 60.81 kB / 0.8406 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.179, allocations: 0.4998 MB / 0.8411 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1791, allocations: 30.56 kB / 0.8411 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.1791, allocations: 4 kB / 0.8412 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0006466/0.1797, allocations: 205.5 kB / 0.8413 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1798, allocations: 55.41 kB / 0.8414 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1799, allocations: 163.9 kB / 0.8416 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1799, allocations: 29.7 kB / 0.8416 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.18, allocations: 116.4 kB / 0.8417 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.18, allocations: 47.58 kB / 0.8417 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.1801, allocations: 49.64 kB / 0.8418 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1803, allocations: 326.8 kB / 0.8421 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.1805, allocations: 71.94 kB / 0.8422 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.1807, allocations: 123.3 kB / 0.8423 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.1811, allocations: 175.2 kB / 0.8425 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1811, allocations: 0 / 0.8425 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005381/0.1817, allocations: 238.3 kB / 0.8427 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1817, allocations: 8 kB / 0.8427 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1817, allocations: 3.938 kB / 0.8427 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1817, allocations: 4 kB / 0.8427 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.182, allocations: 60 kB / 0.8428 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.182, allocations: 0 / 0.8428 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1821, allocations: 31.86 kB / 0.8428 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.1821, allocations: 8 kB / 0.8428 GB, free: 14.12 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.0001029/0.1823, allocations: 122.4 kB / 0.8429 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.1823, allocations: 11.91 kB / 0.8429 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.1828, allocations: 191.2 kB / 0.8431 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1828, allocations: 0 / 0.8431 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1828, allocations: 0 / 0.8431 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1828, allocations: 0 / 0.8431 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.183, allocations: 192.6 kB / 0.8433 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.183, allocations: 0 / 0.8433 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1832, allocations: 31.91 kB / 0.8433 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1832, allocations: 4 kB / 0.8433 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1832, allocations: 7.938 kB / 0.8433 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1832, allocations: 0 / 0.8433 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1832, allocations: 0 / 0.8433 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.1836, allocations: 263.4 kB / 0.8436 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1837, allocations: 27.81 kB / 0.8436 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1837, allocations: 7.938 kB / 0.8436 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1838, allocations: 15.98 kB / 0.8436 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1839, allocations: 3.984 kB / 0.8436 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1839, allocations: 4 kB / 0.8436 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.059e-05/0.184, allocations: 119.9 kB / 0.8438 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.184, allocations: 0 / 0.8438 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000345/0.1843, allocations: 63.86 kB / 0.8438 GB, free: 13.01 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.0009086/0.1852, allocations: 0.8449 MB / 0.8446 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.1857, allocations: 162.8 kB / 0.8448 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1857, allocations: 192 / 0.8448 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1859, allocations: 59.95 kB / 0.8448 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1862, allocations: 26.8 kB / 0.8449 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1889, allocations: 1.966 MB / 0.8468 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1892, allocations: 0.7045 MB / 0.8475 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.232e-05/0.1893, allocations: 26.64 kB / 0.8475 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/0.1893, allocations: 31.44 kB / 0.8475 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.1893, allocations: 0 / 0.8475 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.223, allocations: 4.469 MB / 0.8519 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.74, allocations: 10.25 kB / 0.8519 GB, free: 4.75 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.627144298981875] Failed to read output from testmodel.py, exit status != 0: 10.839409195119515 10.857193979 10.679246543 Calling exit ...