Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00179/0.00179, allocations: 104.3 kB / 19.7 MB, free: 2.062 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.001474/0.001474, allocations: 212.7 kB / 22.99 MB, free: 4.883 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9535/0.9535, allocations: 149.9 MB / 463.1 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002004/0.002004, allocations: 70.58 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1733, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006631/0.1799, allocations: 4.386 MB / 0.7325 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1811, allocations: 0.7438 MB / 0.7332 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.1811, allocations: 0 / 0.7332 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1813, allocations: 39.77 kB / 0.7332 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.944e-05/0.1814, allocations: 27.72 kB / 0.7332 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.1819, allocations: 171.4 kB / 0.7334 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1821, allocations: 183.4 kB / 0.7336 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.1822, allocations: 9.312 kB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.1824, allocations: 91.61 kB / 0.7337 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1825, allocations: 63.75 kB / 0.7337 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1826, allocations: 12 kB / 0.7337 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1829, allocations: 143.8 kB / 0.7339 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.1829, allocations: 31.91 kB / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.183, allocations: 51.73 kB / 0.734 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.1834, allocations: 247.4 kB / 0.7342 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1834, allocations: 8 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1834, allocations: 3.938 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1834, allocations: 0 / 0.7342 GB, free: 10.82 MB / 0.5606 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.000867/0.1843, allocations: 401.4 kB / 0.7346 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1843, allocations: 12.03 kB / 0.7346 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1844, allocations: 38.75 kB / 0.7346 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.1844, allocations: 20.84 kB / 0.7347 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1846, allocations: 125.7 kB / 0.7348 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1846, allocations: 11.94 kB / 0.7348 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1846, allocations: 12 kB / 0.7348 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.1849, allocations: 121.5 kB / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1849, allocations: 0 / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.185, allocations: 0 / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.185, allocations: 0 / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.1854, allocations: 147.9 kB / 0.7351 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1864, allocations: 407.6 kB / 0.7355 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1867, allocations: 122.5 kB / 0.7356 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.1869, allocations: 64.75 kB / 0.7356 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.188, allocations: 484 kB / 0.7361 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.1881, allocations: 30.56 kB / 0.7361 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1881, allocations: 0 / 0.7361 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006792/0.1888, allocations: 210.7 kB / 0.7363 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1888, allocations: 59.39 kB / 0.7364 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.189, allocations: 163.2 kB / 0.7365 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.189, allocations: 29.7 kB / 0.7366 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.1891, allocations: 116.4 kB / 0.7367 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.1891, allocations: 39.62 kB / 0.7367 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.1892, allocations: 57.66 kB / 0.7368 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1893, allocations: 322.8 kB / 0.7371 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1896, allocations: 75.94 kB / 0.7371 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.1898, allocations: 114.7 kB / 0.7373 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.1903, allocations: 175.3 kB / 0.7374 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1903, allocations: 0 / 0.7374 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005765/0.1908, allocations: 236.3 kB / 0.7376 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1909, allocations: 8 kB / 0.7377 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1909, allocations: 4.094 kB / 0.7377 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1909, allocations: 0 / 0.7377 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1912, allocations: 63.89 kB / 0.7377 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1912, allocations: 0 / 0.7377 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1913, allocations: 31.83 kB / 0.7378 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.1913, allocations: 7.984 kB / 0.7378 GB, free: 6.957 MB / 0.5606 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.0001162/0.1915, allocations: 133.7 kB / 0.7379 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1915, allocations: 15.84 kB / 0.7379 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.192, allocations: 181.9 kB / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.192, allocations: 0 / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.192, allocations: 0 / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.192, allocations: 0 / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.1922, allocations: 176.7 kB / 0.7382 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.1922, allocations: 11.86 kB / 0.7383 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1924, allocations: 27.98 kB / 0.7383 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1924, allocations: 0 / 0.7383 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1924, allocations: 8 kB / 0.7383 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1924, allocations: 0 / 0.7383 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1924, allocations: 0 / 0.7383 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.1929, allocations: 255.3 kB / 0.7385 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1929, allocations: 31.77 kB / 0.7386 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.193, allocations: 0 / 0.7386 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1931, allocations: 19.98 kB / 0.7386 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.1931, allocations: 11.92 kB / 0.7386 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1932, allocations: 7.984 kB / 0.7386 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.327e-05/0.1933, allocations: 108 kB / 0.7387 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1933, allocations: 4 kB / 0.7387 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000329/0.1936, allocations: 63.86 kB / 0.7388 GB, free: 5.852 MB / 0.5606 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.0009873/0.1946, allocations: 0.8409 MB / 0.7396 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.1951, allocations: 171.6 kB / 0.7398 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1951, allocations: 0 / 0.7398 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.1953, allocations: 66.47 kB / 0.7398 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1957, allocations: 24.72 kB / 0.7398 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.1985, allocations: 1.951 MB / 0.7417 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.754e-05/0.1986, allocations: 93.48 kB / 0.7418 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.1987, allocations: 24.67 kB / 0.7419 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.1988, allocations: 35.42 kB / 0.7419 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.1988, allocations: 0 / 0.7419 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.2342, allocations: 4.931 MB / 0.7467 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.21, allocations: 5.219 kB / 0.7467 GB, free: 13.77 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.151504588779062] Failed to read output from testmodel.py, exit status != 0: 11.328483995050192 11.623492388 11.159547851 Calling exit ...