Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 112.7 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 188.1 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 283.8 kB / 306.6 MB, free: 8.34 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.142/1.142, allocations: 180.9 MB / 0.53 GB, free: 14.51 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 104.5 kB / 0.7308 GB, free: 38.78 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.167, allocations: 94.2 MB / 0.8228 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003257/0.1703, allocations: 1.793 MB / 0.8246 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1715, allocations: 0.6632 MB / 0.8252 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.1716, allocations: 4 kB / 0.8252 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.324e-05/0.1716, allocations: 11.86 kB / 0.8253 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1718, allocations: 19.8 kB / 0.8253 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.1724, allocations: 170.9 kB / 0.8254 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1725, allocations: 123.6 kB / 0.8256 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1727, allocations: 56.86 kB / 0.8256 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1728, allocations: 59.83 kB / 0.8257 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.826e-05/0.1729, allocations: 43.78 kB / 0.8257 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1729, allocations: 8 kB / 0.8257 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1731, allocations: 51.95 kB / 0.8258 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.1731, allocations: 31.91 kB / 0.8258 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.1732, allocations: 55.66 kB / 0.8258 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1734, allocations: 151.3 kB / 0.826 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1734, allocations: 8 kB / 0.826 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1734, allocations: 0 / 0.826 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1734, allocations: 0 / 0.826 GB, free: 14.64 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006382/0.174, allocations: 369.7 kB / 0.8264 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1741, allocations: 8.031 kB / 0.8264 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.175, allocations: 112.7 kB / 0.8265 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1751, allocations: 128.6 kB / 0.8266 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1752, allocations: 63.97 kB / 0.8267 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.1753, allocations: 8.375 kB / 0.8267 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.1758, allocations: 173.6 kB / 0.8268 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1759, allocations: 0 / 0.8268 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.1759, allocations: 8 kB / 0.8268 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1759, allocations: 0 / 0.8268 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/0.1766, allocations: 159.8 kB / 0.827 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1778, allocations: 453.1 kB / 0.8274 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.179, allocations: 210.3 kB / 0.8276 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.1793, allocations: 80.91 kB / 0.8277 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1793, allocations: 4 kB / 0.8277 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1794, allocations: 38.5 kB / 0.8277 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1794, allocations: 0 / 0.8277 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.00109/0.1805, allocations: 265.3 kB / 0.828 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1805, allocations: 51.41 kB / 0.828 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1806, allocations: 135.9 kB / 0.8282 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1807, allocations: 33.69 kB / 0.8282 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.1808, allocations: 112.2 kB / 0.8283 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1808, allocations: 19.86 kB / 0.8283 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.1808, allocations: 25.7 kB / 0.8283 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.181, allocations: 322.8 kB / 0.8287 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.1813, allocations: 67.92 kB / 0.8287 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.1817, allocations: 98.44 kB / 0.8288 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.1823, allocations: 158.7 kB / 0.829 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.1823, allocations: 12 kB / 0.829 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000732/0.183, allocations: 201.4 kB / 0.8292 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1831, allocations: 5.562 kB / 0.8292 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1831, allocations: 0 / 0.8292 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1831, allocations: 8 kB / 0.8292 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.1834, allocations: 39.89 kB / 0.8292 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1834, allocations: 4 kB / 0.8292 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1836, allocations: 23.91 kB / 0.8292 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1836, allocations: 3.984 kB / 0.8293 GB, free: 11.09 MB / 0.5762 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.0001201/0.1837, allocations: 126.4 kB / 0.8294 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.1838, allocations: 7.953 kB / 0.8294 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007642/0.1845, allocations: 210.1 kB / 0.8296 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1845, allocations: 3.938 kB / 0.8296 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1845, allocations: 0 / 0.8296 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1845, allocations: 4 kB / 0.8296 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1848, allocations: 205.5 kB / 0.8298 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1848, allocations: 4 kB / 0.8298 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.185, allocations: 27.95 kB / 0.8298 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.185, allocations: 4 kB / 0.8298 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1851, allocations: 7.938 kB / 0.8298 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1851, allocations: 0 / 0.8298 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1851, allocations: 0 / 0.8298 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.1858, allocations: 283.3 kB / 0.8301 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.1858, allocations: 11.94 kB / 0.8301 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1859, allocations: 8.109 kB / 0.8301 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.1862, allocations: 39.95 kB / 0.8302 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1862, allocations: 7.938 kB / 0.8302 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1862, allocations: 7.984 kB / 0.8302 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.503e-05/0.1863, allocations: 103.2 kB / 0.8303 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1863, allocations: 0 / 0.8303 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002628/0.1866, allocations: 27.89 kB / 0.8303 GB, free: 9.953 MB / 0.5762 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.0001338/0.1867, allocations: 99.25 kB / 0.8304 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.1874, allocations: 163.8 kB / 0.8305 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1874, allocations: 0 / 0.8305 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.1878, allocations: 80.05 kB / 0.8306 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.188, allocations: 15.98 kB / 0.8306 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007215/0.1888, allocations: 251.5 kB / 0.8309 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1891, allocations: 0.7061 MB / 0.8316 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.901e-05/0.1892, allocations: 8 kB / 0.8316 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.1893, allocations: 23.42 kB / 0.8316 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1893, allocations: 3.938 kB / 0.8316 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of Templates: time 0.00456/0.1938, allocations: 1.516 MB / 0.8331 GB, free: 7.047 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.62945934291929] Failed to read output from testmodel.py, exit status != 0: 0.20078485365957022 0.214930265 0.038750086 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f840ad157b0>