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.001246/0.001246, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001329/0.001329, allocations: 160.3 kB / 23.02 MB, free: 4.941 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.328/1.328, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.002414/0.002414, allocations: 233.9 kB / 260 MB, free: 436 kB / 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 0.8722/0.8722, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.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.002876/0.002876, allocations: 99.86 kB / 0.6473 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.373, allocations: 95.34 MB / 0.7405 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002422/0.3754, allocations: 1.765 MB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3764, allocations: 0.6951 MB / 0.7429 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.3765, allocations: 2.656 kB / 0.7429 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.3765, allocations: 10.55 kB / 0.7429 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.3766, allocations: 14.03 kB / 0.7429 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.3771, allocations: 196 kB / 0.7431 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3773, allocations: 128.4 kB / 0.7432 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3774, allocations: 40 kB / 0.7432 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3775, allocations: 60.55 kB / 0.7433 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.477e-05/0.3776, allocations: 47.97 kB / 0.7433 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3776, allocations: 17.47 kB / 0.7433 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3777, allocations: 51.73 kB / 0.7434 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.3778, allocations: 31.64 kB / 0.7434 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3778, allocations: 44.83 kB / 0.7435 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.378, allocations: 156.1 kB / 0.7436 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.378, allocations: 0 / 0.7436 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.163e-06/0.378, allocations: 0 / 0.7436 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.378, allocations: 7.875 kB / 0.7436 GB, free: 15.44 MB / 0.5919 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.0004658/0.3785, allocations: 371.9 kB / 0.744 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.3785, allocations: 10.69 kB / 0.744 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009618/0.3795, allocations: 134.9 kB / 0.7441 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3797, allocations: 153.8 kB / 0.7443 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.3797, allocations: 116.5 kB / 0.7444 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.3798, allocations: 13.09 kB / 0.7444 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.3803, allocations: 221.5 kB / 0.7446 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3803, allocations: 0 / 0.7446 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.3803, allocations: 5.375 kB / 0.7446 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3803, allocations: 2.312 kB / 0.7446 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.3809, allocations: 155.8 kB / 0.7448 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.3818, allocations: 396.4 kB / 0.7451 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.3828, allocations: 216.5 kB / 0.7453 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.3831, allocations: 82.72 kB / 0.7454 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3831, allocations: 2.172 kB / 0.7454 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.3831, allocations: 32.41 kB / 0.7455 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3831, allocations: 0 / 0.7455 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6): time 0.0009881/0.3841, allocations: 262.9 kB / 0.7457 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.58e-05/0.3841, allocations: 57.09 kB / 0.7458 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.3842, allocations: 145.1 kB / 0.7459 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3842, allocations: 27.08 kB / 0.7459 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.3843, allocations: 115 kB / 0.746 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3843, allocations: 15.33 kB / 0.746 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.3844, allocations: 24.75 kB / 0.7461 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.3844, allocations: 320.6 kB / 0.7464 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.3847, allocations: 82.39 kB / 0.7465 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.385, allocations: 93.2 kB / 0.7465 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.3856, allocations: 165.2 kB / 0.7467 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3856, allocations: 0 / 0.7467 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006513/0.3862, allocations: 214.6 kB / 0.7469 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3862, allocations: 5.125 kB / 0.7469 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3862, allocations: 1.125 kB / 0.7469 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3863, allocations: 1.672 kB / 0.7469 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.3865, allocations: 35.92 kB / 0.747 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3865, allocations: 4.141 kB / 0.747 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3867, allocations: 26.58 kB / 0.747 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3867, allocations: 7.547 kB / 0.747 GB, free: 13.28 MB / 0.5919 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 5.851e-05/0.3868, allocations: 119.6 kB / 0.7471 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3868, allocations: 17.14 kB / 0.7471 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.3875, allocations: 204.7 kB / 0.7473 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3875, allocations: 1.031 kB / 0.7473 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.3875, allocations: 3.938 kB / 0.7473 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3875, allocations: 1.25 kB / 0.7473 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.3877, allocations: 160.7 kB / 0.7475 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3877, allocations: 0 / 0.7475 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.3879, allocations: 37.3 kB / 0.7475 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3879, allocations: 3.938 kB / 0.7475 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3879, allocations: 2.844 kB / 0.7475 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3879, allocations: 4.125 kB / 0.7475 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3879, allocations: 4 kB / 0.7475 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/0.3885, allocations: 282.7 kB / 0.7478 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.3885, allocations: 12.31 kB / 0.7478 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3886, allocations: 5.766 kB / 0.7478 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.3889, allocations: 36.78 kB / 0.7478 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3889, allocations: 5.125 kB / 0.7478 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3889, allocations: 6.672 kB / 0.7479 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.389, allocations: 109.5 kB / 0.748 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.389, allocations: 0 / 0.748 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002557/0.3892, allocations: 31.67 kB / 0.748 GB, free: 12.62 MB / 0.5919 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 7.672e-05/0.3893, allocations: 98.52 kB / 0.7481 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006395/0.3899, allocations: 168.8 kB / 0.7482 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3899, allocations: 0 / 0.7482 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.3902, allocations: 77.59 kB / 0.7483 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.3905, allocations: 18.77 kB / 0.7483 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.391, allocations: 263.1 kB / 0.7486 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.3911, allocations: 85.7 kB / 0.7487 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.3912, allocations: 20.39 kB / 0.7487 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.3912, allocations: 15.11 kB / 0.7487 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.3912, allocations: 0 / 0.7487 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.00408/0.3953, allocations: 1.546 MB / 0.7502 GB, free: 12.04 MB / 0.5919 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 ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.434014267055318] Failed to read output from testmodel.py, exit status != 0: 0.40236843295861036 0.41232234300000004 0.032046765000000005 Calling exit ...