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.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.001536/0.001536, allocations: 84.77 kB / 19.02 MB, free: 2.719 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.001693/0.001693, allocations: 164.1 kB / 22.26 MB, free: 4.707 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.343/1.343, allocations: 177.2 MB / 202.6 MB, free: 9.293 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002303/0.002303, allocations: 222 kB / 259.2 MB, free: 0.6172 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.025/1.025, allocations: 138.5 MB / 454.2 MB, free: 2.066 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.002845/0.002845, allocations: 99.83 kB / 0.6466 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3623, allocations: 95.35 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002981/0.3653, allocations: 1.77 MB / 0.7414 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3665, allocations: 0.6866 MB / 0.7421 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.3666, allocations: 0 / 0.7421 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.3667, allocations: 15.8 kB / 0.7421 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.3667, allocations: 15.81 kB / 0.7421 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.3673, allocations: 195.5 kB / 0.7423 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3675, allocations: 123.7 kB / 0.7425 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3676, allocations: 37.59 kB / 0.7425 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.3678, allocations: 91.73 kB / 0.7426 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.3679, allocations: 43.77 kB / 0.7426 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3679, allocations: 15.94 kB / 0.7426 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3681, allocations: 47.97 kB / 0.7427 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.3681, allocations: 43.83 kB / 0.7427 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.3682, allocations: 43.78 kB / 0.7428 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.3684, allocations: 148.8 kB / 0.7429 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3684, allocations: 8 kB / 0.7429 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3684, allocations: 3.938 kB / 0.7429 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3684, allocations: 0 / 0.7429 GB, free: 11.94 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.000614/0.369, allocations: 369.6 kB / 0.7433 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3691, allocations: 13.34 kB / 0.7433 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009637/0.37, allocations: 132.6 kB / 0.7434 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3703, allocations: 154.9 kB / 0.7436 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3704, allocations: 111.4 kB / 0.7437 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3704, allocations: 11.94 kB / 0.7437 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.371, allocations: 224.9 kB / 0.7439 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.371, allocations: 4 kB / 0.7439 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.371, allocations: 0 / 0.7439 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.371, allocations: 0 / 0.7439 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.3716, allocations: 163 kB / 0.744 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009981/0.3726, allocations: 401.7 kB / 0.7444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.3735, allocations: 214.3 kB / 0.7446 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.3738, allocations: 72.91 kB / 0.7447 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3738, allocations: 4 kB / 0.7447 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3739, allocations: 38.56 kB / 0.7447 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3739, allocations: 0 / 0.7447 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0009704/0.3748, allocations: 265.3 kB / 0.745 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3749, allocations: 55.41 kB / 0.745 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.375, allocations: 138.4 kB / 0.7452 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.3751, allocations: 33.7 kB / 0.7452 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.061e-05/0.3751, allocations: 108.2 kB / 0.7453 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3752, allocations: 15.91 kB / 0.7453 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.3752, allocations: 21.7 kB / 0.7454 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3754, allocations: 322.8 kB / 0.7457 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.3757, allocations: 79.91 kB / 0.7457 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.3759, allocations: 98.73 kB / 0.7458 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/0.3765, allocations: 166.4 kB / 0.746 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3765, allocations: 0 / 0.746 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006227/0.3771, allocations: 205.3 kB / 0.7462 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3771, allocations: 12.06 kB / 0.7462 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3771, allocations: 0 / 0.7462 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3771, allocations: 0 / 0.7462 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3774, allocations: 35.95 kB / 0.7462 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3774, allocations: 7.875 kB / 0.7462 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3776, allocations: 31.89 kB / 0.7463 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3776, allocations: 4 kB / 0.7463 GB, free: 8.273 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.0001023/0.3777, allocations: 117.8 kB / 0.7464 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.3778, allocations: 11.89 kB / 0.7464 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.3784, allocations: 202.3 kB / 0.7466 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3784, allocations: 4 kB / 0.7466 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3784, allocations: 0 / 0.7466 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3784, allocations: 7.969 kB / 0.7466 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3787, allocations: 166.1 kB / 0.7468 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3787, allocations: 0 / 0.7468 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.3789, allocations: 31.95 kB / 0.7468 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3789, allocations: 3.938 kB / 0.7468 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3789, allocations: 0 / 0.7468 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3789, allocations: 0 / 0.7468 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3789, allocations: 0 / 0.7468 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.3796, allocations: 291.5 kB / 0.7471 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.3796, allocations: 7.953 kB / 0.7471 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3796, allocations: 3.938 kB / 0.7471 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.3799, allocations: 35.95 kB / 0.7471 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3799, allocations: 7.984 kB / 0.7471 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3799, allocations: 7.984 kB / 0.7471 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.167e-05/0.38, allocations: 114 kB / 0.7472 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.38, allocations: 0 / 0.7472 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002636/0.3803, allocations: 27.89 kB / 0.7473 GB, free: 7.195 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.0001391/0.3804, allocations: 99.25 kB / 0.7474 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006081/0.381, allocations: 159.8 kB / 0.7475 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.381, allocations: 0 / 0.7475 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.3813, allocations: 79.86 kB / 0.7476 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3816, allocations: 11.94 kB / 0.7476 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.3823, allocations: 267.7 kB / 0.7479 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.563e-05/0.3824, allocations: 85.31 kB / 0.7479 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.882e-05/0.3825, allocations: 23.73 kB / 0.748 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.3825, allocations: 16.5 kB / 0.748 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.3825, allocations: 0 / 0.748 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.004356/0.3869, allocations: 1.547 MB / 0.7495 GB, free: 4.898 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.518802987411618] Failed to read output from testmodel.py, exit status != 0: 0.39495256915688515 0.40896800799999994 0.037632886000000004 Calling exit ...