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.001227/0.001227, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001371/0.001371, allocations: 220.9 kB / 23.05 MB, free: 5.074 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.002393/0.002393, allocations: 284 kB / 313.5 MB, free: 2.797 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.135/1.135, allocations: 180.6 MB / 0.5377 GB, free: 12.93 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.002712/0.002712, allocations: 102.4 kB / 0.7404 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1801, allocations: 95.39 MB / 0.8335 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00672/0.1868, allocations: 4.67 MB / 0.8381 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.188, allocations: 0.8342 MB / 0.8389 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.1881, allocations: 0 / 0.8389 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1882, allocations: 31.77 kB / 0.8389 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.1883, allocations: 27.72 kB / 0.8389 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.1888, allocations: 175.4 kB / 0.8391 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.189, allocations: 179.4 kB / 0.8393 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.1891, allocations: 13.09 kB / 0.8393 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1893, allocations: 91.69 kB / 0.8394 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1894, allocations: 79.67 kB / 0.8395 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1894, allocations: 12 kB / 0.8395 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.1898, allocations: 155.8 kB / 0.8396 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.1898, allocations: 31.91 kB / 0.8396 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.1899, allocations: 75.64 kB / 0.8397 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1903, allocations: 235.5 kB / 0.8399 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1903, allocations: 0 / 0.8399 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1903, allocations: 0 / 0.8399 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.1903, allocations: 3.938 kB / 0.8399 GB, free: 2.004 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.000878/0.1912, allocations: 414.1 kB / 0.8403 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1912, allocations: 9.344 kB / 0.8404 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.361e-05/0.1912, allocations: 4.188 kB / 0.8404 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.1913, allocations: 38.75 kB / 0.8404 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1913, allocations: 16.84 kB / 0.8404 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1914, allocations: 123.2 kB / 0.8405 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1915, allocations: 12.38 kB / 0.8405 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.1915, allocations: 20.12 kB / 0.8406 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1918, allocations: 117.6 kB / 0.8407 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1918, allocations: 0 / 0.8407 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1918, allocations: 0 / 0.8407 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1918, allocations: 0 / 0.8407 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.1923, allocations: 143.9 kB / 0.8408 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.1932, allocations: 439.5 kB / 0.8412 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1935, allocations: 122.5 kB / 0.8413 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.1937, allocations: 64.8 kB / 0.8414 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.1949, allocations: 0.496 MB / 0.8419 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1949, allocations: 34.56 kB / 0.8419 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.1949, allocations: 0 / 0.8419 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0006639/0.1956, allocations: 205.5 kB / 0.8421 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1956, allocations: 55.34 kB / 0.8422 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1958, allocations: 179.8 kB / 0.8423 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.1958, allocations: 29.7 kB / 0.8424 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.1959, allocations: 112.4 kB / 0.8425 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.196, allocations: 43.64 kB / 0.8425 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.196, allocations: 45.7 kB / 0.8426 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1962, allocations: 326.8 kB / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.1964, allocations: 71.94 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1967, allocations: 119.3 kB / 0.8431 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.1971, allocations: 178 kB / 0.8432 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1971, allocations: 0 / 0.8432 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005879/0.1977, allocations: 237.3 kB / 0.8435 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1977, allocations: 11.94 kB / 0.8435 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1977, allocations: 4.094 kB / 0.8435 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1977, allocations: 0 / 0.8435 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.198, allocations: 59.91 kB / 0.8435 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.198, allocations: 0 / 0.8435 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1982, allocations: 31.86 kB / 0.8436 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.1982, allocations: 11.98 kB / 0.8436 GB, free: 14.06 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.000106/0.1983, allocations: 122.4 kB / 0.8437 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.1983, allocations: 19.84 kB / 0.8437 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/0.1988, allocations: 178.9 kB / 0.8439 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1988, allocations: 0 / 0.8439 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1988, allocations: 0 / 0.8439 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1988, allocations: 0 / 0.8439 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1991, allocations: 196.6 kB / 0.8441 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1991, allocations: 0 / 0.8441 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1992, allocations: 31.97 kB / 0.8441 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.1992, allocations: 3.938 kB / 0.8441 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1993, allocations: 4 kB / 0.8441 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1993, allocations: 0 / 0.8441 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1993, allocations: 4 kB / 0.8441 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.1997, allocations: 263.3 kB / 0.8444 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1998, allocations: 23.81 kB / 0.8444 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1998, allocations: 7.938 kB / 0.8444 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.1999, allocations: 15.92 kB / 0.8444 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.2, allocations: 7.984 kB / 0.8444 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.2, allocations: 4 kB / 0.8444 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.58e-05/0.2001, allocations: 116 kB / 0.8445 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2001, allocations: 0 / 0.8445 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003333/0.2004, allocations: 67.86 kB / 0.8446 GB, free: 12.95 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.000986/0.2014, allocations: 0.8455 MB / 0.8454 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.2019, allocations: 166.6 kB / 0.8456 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2019, allocations: 0 / 0.8456 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.2021, allocations: 55.95 kB / 0.8456 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.2024, allocations: 23.92 kB / 0.8456 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.2053, allocations: 1.968 MB / 0.8476 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.2056, allocations: 0.7006 MB / 0.8483 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.692e-05/0.2057, allocations: 21.02 kB / 0.8483 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.2058, allocations: 35.42 kB / 0.8483 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.2058, allocations: 0 / 0.8483 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.2323, allocations: 4.497 MB / 0.8527 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.85, allocations: 14.08 kB / 0.8527 GB, free: 4.676 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.74904968298506] Failed to read output from testmodel.py, exit status != 0: 11.000058820005506 11.015889833 10.822479812 Calling exit ...