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.001512/0.001512, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001546/0.001546, allocations: 195.1 kB / 22.85 MB, free: 5.652 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.34/1.34, allocations: 225.6 MB / 251.5 MB, free: 13.02 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.002355/0.002355, allocations: 289.4 kB / 307 MB, free: 8.363 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.8 MB / 0.5304 GB, free: 14.47 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.002675/0.002675, allocations: 104.8 kB / 0.7311 GB, free: 38.79 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1517, allocations: 94.2 MB / 0.8231 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003066/0.1547, allocations: 1.796 MB / 0.8248 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.156, allocations: 0.6671 MB / 0.8255 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.1561, allocations: 0 / 0.8255 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.1561, allocations: 15.81 kB / 0.8255 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.864e-05/0.1562, allocations: 15.8 kB / 0.8255 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.1567, allocations: 178 kB / 0.8257 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1569, allocations: 115.7 kB / 0.8258 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.157, allocations: 44.95 kB / 0.8258 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1572, allocations: 63.77 kB / 0.8259 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.1572, allocations: 59.69 kB / 0.826 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1573, allocations: 12 kB / 0.826 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1574, allocations: 47.97 kB / 0.826 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.1574, allocations: 31.89 kB / 0.826 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.1575, allocations: 47.73 kB / 0.8261 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1577, allocations: 151.4 kB / 0.8262 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1577, allocations: 0 / 0.8262 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1577, allocations: 0 / 0.8262 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1577, allocations: 0 / 0.8262 GB, free: 14.77 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.0006157/0.1583, allocations: 369.7 kB / 0.8266 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1584, allocations: 8.031 kB / 0.8266 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007616/0.1591, allocations: 112.7 kB / 0.8267 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1593, allocations: 134.3 kB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.1594, allocations: 63.95 kB / 0.8269 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1594, allocations: 8.375 kB / 0.8269 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.1599, allocations: 169.7 kB / 0.8271 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1599, allocations: 4 kB / 0.8271 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1599, allocations: 4 kB / 0.8271 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1599, allocations: 0 / 0.8271 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.1605, allocations: 159.8 kB / 0.8272 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1616, allocations: 449.1 kB / 0.8276 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/0.1625, allocations: 210.3 kB / 0.8278 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.1627, allocations: 84.89 kB / 0.8279 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1628, allocations: 11.98 kB / 0.8279 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1628, allocations: 30.56 kB / 0.828 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1628, allocations: 0 / 0.828 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0009307/0.1637, allocations: 269.3 kB / 0.8282 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1638, allocations: 51.41 kB / 0.8283 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1639, allocations: 135.7 kB / 0.8284 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1639, allocations: 29.7 kB / 0.8284 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.164, allocations: 116.2 kB / 0.8285 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.164, allocations: 19.84 kB / 0.8286 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.1641, allocations: 21.72 kB / 0.8286 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1642, allocations: 318.8 kB / 0.8289 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1645, allocations: 75.92 kB / 0.829 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.1648, allocations: 98.48 kB / 0.8291 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.1653, allocations: 166.6 kB / 0.8292 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1653, allocations: 0 / 0.8292 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005993/0.1659, allocations: 205.5 kB / 0.8294 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1659, allocations: 8 kB / 0.8294 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1659, allocations: 0 / 0.8294 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1659, allocations: 3.938 kB / 0.8294 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1662, allocations: 39.94 kB / 0.8295 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1662, allocations: 0 / 0.8295 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.1664, allocations: 23.91 kB / 0.8295 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1664, allocations: 8 kB / 0.8295 GB, free: 11.22 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.0001028/0.1665, allocations: 122.4 kB / 0.8296 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.1665, allocations: 7.953 kB / 0.8296 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006451/0.1672, allocations: 214.1 kB / 0.8298 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1672, allocations: 0 / 0.8298 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1672, allocations: 0 / 0.8298 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1672, allocations: 3.984 kB / 0.8298 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.1674, allocations: 205.4 kB / 0.83 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1674, allocations: 0 / 0.83 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.1676, allocations: 35.95 kB / 0.83 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1676, allocations: 3.984 kB / 0.8301 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1677, allocations: 11.94 kB / 0.8301 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1677, allocations: 0 / 0.8301 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1677, allocations: 0 / 0.8301 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.1683, allocations: 287.5 kB / 0.8303 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.1683, allocations: 3.953 kB / 0.8303 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1683, allocations: 11.94 kB / 0.8304 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.1686, allocations: 31.95 kB / 0.8304 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1686, allocations: 3.984 kB / 0.8304 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1686, allocations: 7.984 kB / 0.8304 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.039e-05/0.1687, allocations: 105.2 kB / 0.8305 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1687, allocations: 0 / 0.8305 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002492/0.169, allocations: 35.89 kB / 0.8305 GB, free: 10.08 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.0001212/0.1691, allocations: 95.25 kB / 0.8306 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005775/0.1697, allocations: 155.8 kB / 0.8308 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1697, allocations: 8.125 kB / 0.8308 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.17, allocations: 83.84 kB / 0.8309 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1702, allocations: 9.406 kB / 0.8309 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.1709, allocations: 263.5 kB / 0.8311 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.1712, allocations: 0.7002 MB / 0.8318 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.423e-05/0.1713, allocations: 15.94 kB / 0.8318 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1714, allocations: 15.44 kB / 0.8318 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1714, allocations: 0 / 0.8318 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of Templates: time 0.004103/0.1755, allocations: 1.518 MB / 0.8333 GB, free: 7.176 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.633995359996334] Failed to read output from testmodel.py, exit status != 0: 0.18220112600101857 0.19652360800000002 0.035947053 Calling exit ...