Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001524/0.001524, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.0014/0.0014, allocations: 159.4 kB / 23.01 MB, free: 4.598 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.002569/0.002569, allocations: 234.4 kB / 260 MB, free: 468 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.8872/0.8872, allocations: 138.5 MB / 455 MB, free: 15.08 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [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.00293/0.00293, allocations: 91.86 kB / 0.6473 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3828, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002622/0.3854, allocations: 1.483 MB / 0.7419 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.3863, allocations: 0.578 MB / 0.7425 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.3863, allocations: 5 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.3864, allocations: 3.938 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.3864, allocations: 5.641 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.3867, allocations: 58.25 kB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.3868, allocations: 35.28 kB / 0.7426 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.3869, allocations: 7.109 kB / 0.7426 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.387, allocations: 23.97 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.387, allocations: 9.922 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3871, allocations: 2.094 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3872, allocations: 60.89 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.3872, allocations: 10.66 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.3872, allocations: 6.891 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.3874, allocations: 70.7 kB / 0.7428 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3874, allocations: 1.094 kB / 0.7428 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3874, allocations: 0 / 0.7428 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3874, allocations: 0 / 0.7428 GB, free: 15.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003134/0.3877, allocations: 277.3 kB / 0.743 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3877, allocations: 10.44 kB / 0.743 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3879, allocations: 15.56 kB / 0.743 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.388, allocations: 130.3 kB / 0.7432 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.388, allocations: 6.062 kB / 0.7432 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.388, allocations: 5.25 kB / 0.7432 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.3881, allocations: 43.25 kB / 0.7432 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3881, allocations: 0 / 0.7432 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3881, allocations: 5.672 kB / 0.7432 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3881, allocations: 0 / 0.7432 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.3882, allocations: 20.38 kB / 0.7432 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.3884, allocations: 195 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.3885, allocations: 41.83 kB / 0.7435 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.3885, allocations: 16.75 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/0.3891, allocations: 100.9 kB / 0.7436 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3892, allocations: 31.62 kB / 0.7436 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3892, allocations: 4 kB / 0.7436 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002162/0.3894, allocations: 63.3 kB / 0.7437 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3894, allocations: 51.41 kB / 0.7437 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/0.3895, allocations: 114.6 kB / 0.7438 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.3895, allocations: 25.7 kB / 0.7439 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.3895, allocations: 87.88 kB / 0.7439 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.3895, allocations: 4.609 kB / 0.7439 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.3895, allocations: 16.95 kB / 0.744 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.3896, allocations: 315.2 kB / 0.7443 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.3896, allocations: 16.03 kB / 0.7443 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.3896, allocations: 6.922 kB / 0.7443 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.3897, allocations: 25.2 kB / 0.7443 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3897, allocations: 0 / 0.7443 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001046/0.3898, allocations: 64 kB / 0.7444 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3898, allocations: 10.56 kB / 0.7444 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3898, allocations: 384 / 0.7444 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3898, allocations: 4.094 kB / 0.7444 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.3899, allocations: 10.59 kB / 0.7444 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3899, allocations: 1.344 kB / 0.7444 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.3899, allocations: 6.016 kB / 0.7444 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.3899, allocations: 2.766 kB / 0.7444 GB, free: 14.37 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 4.052e-05/0.39, allocations: 112.4 kB / 0.7445 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.39, allocations: 1.625 kB / 0.7445 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.3901, allocations: 65.88 kB / 0.7446 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3901, allocations: 0 / 0.7446 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3902, allocations: 6.375 kB / 0.7446 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3902, allocations: 0 / 0.7446 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.176e-05/0.3902, allocations: 111.7 kB / 0.7447 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3902, allocations: 3.938 kB / 0.7447 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.3903, allocations: 9.781 kB / 0.7447 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3903, allocations: 0 / 0.7447 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.3903, allocations: 2.516 kB / 0.7447 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3903, allocations: 0 / 0.7447 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3903, allocations: 3.938 kB / 0.7447 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.3904, allocations: 152.6 kB / 0.7449 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.3904, allocations: 10.92 kB / 0.7449 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.3904, allocations: 0.7969 kB / 0.7449 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.3905, allocations: 2.641 kB / 0.7449 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.3905, allocations: 2.391 kB / 0.7449 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3905, allocations: 5.328 kB / 0.7449 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.673e-05/0.3906, allocations: 89.06 kB / 0.745 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3906, allocations: 0 / 0.745 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002294/0.3908, allocations: 17.3 kB / 0.745 GB, free: 13.82 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 (2): * Single equations (assignments): 2 * 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.0001119/0.3909, allocations: 116.2 kB / 0.7451 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.391, allocations: 28.44 kB / 0.7451 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.391, allocations: 0 / 0.7451 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.3911, allocations: 9.266 kB / 0.7451 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.3913, allocations: 5.656 kB / 0.7451 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.3915, allocations: 129.6 kB / 0.7453 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.3915, allocations: 67.64 kB / 0.7453 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.3916, allocations: 6.375 kB / 0.7453 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.3916, allocations: 10.22 kB / 0.7453 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.3916, allocations: 0 / 0.7453 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.00279/0.3944, allocations: 0.6666 MB / 0.746 GB, free: 13.41 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.382632274995558] Failed to read output from testmodel.py, exit status != 0: 0.40164466109126806 0.41156989099999997 0.021807424000000002 Calling exit ...