Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.00181/0.00181, allocations: 105 kB / 20.45 MB, free: 1.5 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.001689/0.001689, allocations: 217.9 kB / 23.76 MB, free: 4.711 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 8.004 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 1.078/1.078, allocations: 150 MB / 463.9 MB, free: 10.49 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: translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") [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.002365/0.002365, allocations: 72.98 kB / 0.6425 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1828, allocations: 89.16 MB / 0.7296 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003253/0.1861, allocations: 1.807 MB / 0.7313 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1874, allocations: 0.7441 MB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.1875, allocations: 3.938 kB / 0.7321 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.392e-05/0.1876, allocations: 11.86 kB / 0.7321 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.1876, allocations: 19.8 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.1883, allocations: 183.3 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.1885, allocations: 135.6 kB / 0.7324 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1887, allocations: 33.62 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1889, allocations: 63.83 kB / 0.7325 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.189, allocations: 51.7 kB / 0.7326 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.189, allocations: 12 kB / 0.7326 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1891, allocations: 55.95 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.1892, allocations: 27.91 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.1892, allocations: 55.72 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.1895, allocations: 163.3 kB / 0.7329 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1895, allocations: 0 / 0.7329 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1895, allocations: 0 / 0.7329 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1895, allocations: 0 / 0.7329 GB, free: 13.4 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006551/0.1901, allocations: 377.6 kB / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1902, allocations: 15.97 kB / 0.7332 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000966/0.1912, allocations: 120.7 kB / 0.7333 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1915, allocations: 166.8 kB / 0.7335 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.1916, allocations: 119.4 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1916, allocations: 11.94 kB / 0.7336 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.1921, allocations: 165.4 kB / 0.7338 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1921, allocations: 0 / 0.7338 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1922, allocations: 12 kB / 0.7338 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1922, allocations: 0 / 0.7338 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.1928, allocations: 151.8 kB / 0.7339 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1939, allocations: 453 kB / 0.7344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.1949, allocations: 214.3 kB / 0.7346 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.1952, allocations: 76.91 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1952, allocations: 3.984 kB / 0.7347 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1952, allocations: 46.5 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.1952, allocations: 0 / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0009929/0.1962, allocations: 257.4 kB / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1963, allocations: 55.41 kB / 0.735 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1964, allocations: 141.2 kB / 0.7351 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1964, allocations: 29.64 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.1965, allocations: 112.3 kB / 0.7353 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1965, allocations: 19.8 kB / 0.7353 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.1966, allocations: 25.7 kB / 0.7353 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1967, allocations: 322.8 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.197, allocations: 75.92 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.1973, allocations: 94.48 kB / 0.7358 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.1979, allocations: 162.4 kB / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1979, allocations: 4 kB / 0.7359 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006416/0.1986, allocations: 205.4 kB / 0.7361 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1986, allocations: 4 kB / 0.7361 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1986, allocations: 3.938 kB / 0.7361 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1986, allocations: 4 kB / 0.7361 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1989, allocations: 36.33 kB / 0.7362 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1989, allocations: 4 kB / 0.7362 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.199, allocations: 35.91 kB / 0.7362 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.1991, allocations: 0 / 0.7362 GB, free: 9.723 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001119/0.1992, allocations: 121.8 kB / 0.7363 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.1992, allocations: 11.89 kB / 0.7363 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006964/0.1999, allocations: 206.2 kB / 0.7365 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1999, allocations: 0 / 0.7365 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1999, allocations: 0 / 0.7365 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1999, allocations: 7.938 kB / 0.7365 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.2002, allocations: 213.4 kB / 0.7368 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2002, allocations: 4 kB / 0.7368 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2004, allocations: 31.95 kB / 0.7368 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2004, allocations: 0 / 0.7368 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2004, allocations: 3.984 kB / 0.7368 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2004, allocations: 0 / 0.7368 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2004, allocations: 0 / 0.7368 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.2011, allocations: 299.2 kB / 0.7371 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.2011, allocations: 7.953 kB / 0.7371 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2011, allocations: 0 / 0.7371 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.2014, allocations: 31.95 kB / 0.7371 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.2015, allocations: 7.984 kB / 0.7371 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.2015, allocations: 11.98 kB / 0.7371 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.235e-05/0.2016, allocations: 105.3 kB / 0.7372 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2016, allocations: 0 / 0.7372 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002597/0.2018, allocations: 20 kB / 0.7373 GB, free: 8.586 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 (6): * Single equations (assignments): 6 * 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.0001246/0.202, allocations: 103.2 kB / 0.7374 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006579/0.2026, allocations: 163.8 kB / 0.7375 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2026, allocations: 0 / 0.7375 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.2029, allocations: 83.91 kB / 0.7376 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.2032, allocations: 17.98 kB / 0.7376 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.2039, allocations: 289.3 kB / 0.7379 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2042, allocations: 0.7078 MB / 0.7386 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.2043, allocations: 23.42 kB / 0.7386 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2043, allocations: 4 kB / 0.7386 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of Templates: time 0.0037/0.208, allocations: 1.636 MB / 0.7402 GB, free: 5.512 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.309497801121324] Failed to read output from testmodel.py, exit status != 0: 0.21751794288866222 0.23147672700000002 0.038954224 Calling exit ...