Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.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.001384/0.001384, allocations: 114.3 kB / 19.69 MB, free: 2.059 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.001556/0.001556, allocations: 218.1 kB / 23.01 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9666/0.9666, allocations: 150 MB / 463.2 MB, free: 10.47 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.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Round,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round",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.002176/0.002176, allocations: 70.55 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.179, allocations: 89.17 MB / 0.7284 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.001851/0.1809, allocations: 0.6005 MB / 0.729 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.1812, allocations: 71.77 kB / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.1812, allocations: 0 / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.1812, allocations: 0 / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.1812, allocations: 0 / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1815, allocations: 19.92 kB / 0.7291 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.195e-05/0.1815, allocations: 11.98 kB / 0.7291 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1816, allocations: 4 kB / 0.7291 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.1816, allocations: 11.92 kB / 0.7291 GB, free: 492 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.1817, allocations: 11.92 kB / 0.7291 GB, free: 480 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1817, allocations: 0 / 0.7291 GB, free: 480 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.1818, allocations: 19.98 kB / 0.7291 GB, free: 460 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.1818, allocations: 0 / 0.7291 GB, free: 460 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.1818, allocations: 7.938 kB / 0.7291 GB, free: 452 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.1819, allocations: 24.17 kB / 0.7292 GB, free: 428 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1819, allocations: 0 / 0.7292 GB, free: 428 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1819, allocations: 0 / 0.7292 GB, free: 428 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1819, allocations: 0 / 0.7292 GB, free: 428 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003699/0.1823, allocations: 254.3 kB / 0.7294 GB, free: 140 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1823, allocations: 8.031 kB / 0.7294 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.1823, allocations: 38.75 kB / 0.7294 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.1824, allocations: 0.9375 kB / 0.7294 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.1825, allocations: 110.5 kB / 0.7295 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.1825, allocations: 384 / 0.7295 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1825, allocations: 4.375 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1826, allocations: 78.47 kB / 0.7296 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1826, allocations: 3.938 kB / 0.7296 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1826, allocations: 4 kB / 0.7296 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1826, allocations: 0 / 0.7296 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.1827, allocations: 11.94 kB / 0.7296 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.1829, allocations: 152.2 kB / 0.7298 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.183, allocations: 101 kB / 0.7299 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.1831, allocations: 32.42 kB / 0.7299 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.1832, allocations: 4 kB / 0.7299 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.1833, allocations: 46.48 kB / 0.73 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1833, allocations: 0 / 0.73 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002265/0.1835, allocations: 77.48 kB / 0.73 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.1836, allocations: 154.8 kB / 0.7302 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.1836, allocations: 93.86 kB / 0.7303 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1836, allocations: 29.7 kB / 0.7303 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.1837, allocations: 84.12 kB / 0.7304 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.1837, allocations: 19.83 kB / 0.7304 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1838, allocations: 21.72 kB / 0.7304 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1839, allocations: 314.8 kB / 0.7307 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.1839, allocations: 4 kB / 0.7307 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.785e-05/0.184, allocations: 44.23 kB / 0.7308 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.533e-05/0.1841, allocations: 48.22 kB / 0.7308 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1841, allocations: 0 / 0.7308 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001147/0.1842, allocations: 65.58 kB / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1842, allocations: 7.938 kB / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1842, allocations: 7.938 kB / 0.7309 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1842, allocations: 3.938 kB / 0.7309 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.1843, allocations: 15.98 kB / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1843, allocations: 0 / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.1843, allocations: 4 kB / 0.7309 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1843, allocations: 4 kB / 0.7309 GB, free: 14.28 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 7.948e-05/0.1844, allocations: 112 kB / 0.731 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.1844, allocations: 4 kB / 0.731 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.1847, allocations: 112.5 kB / 0.7311 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1847, allocations: 4.156 kB / 0.7311 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1847, allocations: 4 kB / 0.7311 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1847, allocations: 0 / 0.7311 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1848, allocations: 144.7 kB / 0.7313 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1848, allocations: 0 / 0.7313 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.1849, allocations: 12 kB / 0.7313 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1849, allocations: 4 kB / 0.7313 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1849, allocations: 3.938 kB / 0.7313 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1849, allocations: 4 kB / 0.7313 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1849, allocations: 0 / 0.7313 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1851, allocations: 124.5 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.1851, allocations: 7.938 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1851, allocations: 7.875 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.1851, allocations: 4 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.1852, allocations: 15.98 kB / 0.7315 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1852, allocations: 4 kB / 0.7315 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.1852, allocations: 75.28 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1852, allocations: 0 / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000221/0.1854, allocations: 4 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0005262/0.1859, allocations: 0.6664 MB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.1861, allocations: 39.98 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1861, allocations: 320 / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.1861, allocations: 31.92 kB / 0.7323 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.1863, allocations: 4 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.1867, allocations: 173.9 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1871, allocations: 0.6913 MB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.1871, allocations: 12 kB / 0.7331 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.1872, allocations: 19.42 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1872, allocations: 0 / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09954/0.2867, allocations: 1.558 MB / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.42, allocations: 2.25 kB / 0.7347 GB, free: 10.38 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Round.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.15705485502258] Failed to read output from testmodel.py, exit status != 0: 11.518884530989453 11.534985033 11.349856448 Calling exit ...