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.001262/0.001262, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001402/0.001402, allocations: 218.8 kB / 23.03 MB, free: 4.922 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.348/1.348, allocations: 230.6 MB / 256.8 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.002504/0.002504, allocations: 282.2 kB / 313.5 MB, free: 2.594 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.165/1.165, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",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.002685/0.002685, allocations: 95.14 kB / 0.7403 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1664, allocations: 95.38 MB / 0.8334 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006113/0.1725, allocations: 4.393 MB / 0.8377 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1736, allocations: 0.7642 MB / 0.8384 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.1736, allocations: 0 / 0.8384 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1738, allocations: 31.77 kB / 0.8385 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.1738, allocations: 31.72 kB / 0.8385 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.1743, allocations: 175.3 kB / 0.8387 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1746, allocations: 179.4 kB / 0.8388 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.1746, allocations: 17.08 kB / 0.8389 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1748, allocations: 83.7 kB / 0.8389 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1749, allocations: 79.72 kB / 0.839 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.175, allocations: 12 kB / 0.839 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.1753, allocations: 143.7 kB / 0.8392 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.1753, allocations: 35.89 kB / 0.8392 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.1754, allocations: 59.72 kB / 0.8393 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1757, allocations: 239.5 kB / 0.8395 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1757, allocations: 0 / 0.8395 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1757, allocations: 0 / 0.8395 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.1757, allocations: 0 / 0.8395 GB, free: 2.012 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.0008351/0.1766, allocations: 405.4 kB / 0.8399 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1766, allocations: 17.94 kB / 0.8399 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.196e-05/0.1766, allocations: 192 / 0.8399 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.1767, allocations: 42.73 kB / 0.8399 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.1767, allocations: 16.84 kB / 0.8399 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1768, allocations: 127.2 kB / 0.8401 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1768, allocations: 8.375 kB / 0.8401 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.1769, allocations: 15.94 kB / 0.8401 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.1772, allocations: 116 kB / 0.8402 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1772, allocations: 0 / 0.8402 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1772, allocations: 4 kB / 0.8402 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1772, allocations: 4 kB / 0.8402 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.1776, allocations: 143.9 kB / 0.8403 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009474/0.1786, allocations: 419.5 kB / 0.8407 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1789, allocations: 114.5 kB / 0.8409 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.179, allocations: 64.81 kB / 0.8409 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.1802, allocations: 472 kB / 0.8414 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1802, allocations: 46.44 kB / 0.8414 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1802, allocations: 0 / 0.8414 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0006728/0.1809, allocations: 205.5 kB / 0.8416 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1809, allocations: 55.41 kB / 0.8417 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1811, allocations: 163.9 kB / 0.8418 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1811, allocations: 33.69 kB / 0.8418 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.1812, allocations: 112.4 kB / 0.842 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1812, allocations: 43.64 kB / 0.842 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.1813, allocations: 53.69 kB / 0.842 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1815, allocations: 318.8 kB / 0.8423 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.1817, allocations: 75.95 kB / 0.8424 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.1819, allocations: 115.2 kB / 0.8425 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.1824, allocations: 166.2 kB / 0.8427 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1824, allocations: 4 kB / 0.8427 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005865/0.183, allocations: 249.2 kB / 0.8429 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.183, allocations: 11.94 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.183, allocations: 0 / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.183, allocations: 3.938 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.1833, allocations: 59.91 kB / 0.843 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1833, allocations: 3.984 kB / 0.843 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1834, allocations: 27.88 kB / 0.843 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.1835, allocations: 4 kB / 0.843 GB, free: 14.14 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.0001157/0.1836, allocations: 130.6 kB / 0.8432 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1836, allocations: 19.78 kB / 0.8432 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.1841, allocations: 183.2 kB / 0.8434 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1841, allocations: 0 / 0.8434 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1841, allocations: 0 / 0.8434 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1841, allocations: 0 / 0.8434 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.1843, allocations: 176.7 kB / 0.8435 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1843, allocations: 4 kB / 0.8435 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1845, allocations: 31.97 kB / 0.8436 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1845, allocations: 3.938 kB / 0.8436 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1845, allocations: 0 / 0.8436 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1845, allocations: 7.938 kB / 0.8436 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1845, allocations: 0 / 0.8436 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.1849, allocations: 251.4 kB / 0.8438 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.185, allocations: 36.12 kB / 0.8438 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.185, allocations: 7.984 kB / 0.8439 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1852, allocations: 11.98 kB / 0.8439 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.1852, allocations: 11.98 kB / 0.8439 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1852, allocations: 0 / 0.8439 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.755e-05/0.1853, allocations: 116 kB / 0.844 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1853, allocations: 0 / 0.844 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003208/0.1856, allocations: 63.86 kB / 0.844 GB, free: 13.03 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.0009486/0.1866, allocations: 0.8448 MB / 0.8449 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.1871, allocations: 166.3 kB / 0.845 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1871, allocations: 0 / 0.845 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.1873, allocations: 67.83 kB / 0.8451 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1876, allocations: 23.31 kB / 0.8451 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.1902, allocations: 1.96 MB / 0.847 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.285e-05/0.1903, allocations: 89.62 kB / 0.8471 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.677e-05/0.1904, allocations: 21.56 kB / 0.8471 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.1905, allocations: 39.42 kB / 0.8472 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of SimCode: time 6.12e-07/0.1905, allocations: 0 / 0.8472 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.2162, allocations: 4.61 MB / 0.8517 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.85, allocations: 5.25 kB / 0.8517 GB, free: 5.277 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 os._exit(0), Time elapsed: 14.805930705042556] Failed to read output from testmodel.py, exit status != 0: 11.007106586941518 11.022503865 10.843977522 Calling exit ...