Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001403/0.001403, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001501/0.001501, allocations: 217.2 kB / 22.99 MB, free: 4.945 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.428/3.428, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Buildings 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.002095/0.002095, allocations: 63.25 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3547, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001949/0.3567, allocations: 0.6272 MB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.3571, allocations: 144 kB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.3571, allocations: 0 / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.3572, allocations: 3.938 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.394e-05/0.3572, allocations: 4 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.3575, allocations: 35.89 kB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.3576, allocations: 15.98 kB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.3576, allocations: 0 / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.044e-05/0.3576, allocations: 7.938 kB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.3577, allocations: 15.97 kB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3577, allocations: 0 / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.3578, allocations: 27.97 kB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.3578, allocations: 4 kB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.3578, allocations: 7.938 kB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3579, allocations: 39.81 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3579, allocations: 4 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3579, allocations: 3.938 kB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3579, allocations: 0 / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004133/0.3583, allocations: 254.3 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3584, allocations: 8.031 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.3584, allocations: 8.891 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3585, allocations: 106.5 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3586, allocations: 4.375 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3586, allocations: 384 / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3587, allocations: 67.95 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3587, allocations: 4.188 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3587, allocations: 3.938 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3587, allocations: 7.984 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.881e-05/0.3588, allocations: 19.92 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.3589, allocations: 105.3 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.359, allocations: 42.62 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.3591, allocations: 16.98 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.748e-05/0.3591, allocations: 4 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3592, allocations: 42.48 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 4.408e-06/0.3592, allocations: 4 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.001251/0.3604, allocations: 415.1 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3605, allocations: 55.41 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.3606, allocations: 93.86 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3606, allocations: 29.64 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.3606, allocations: 80.14 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.3607, allocations: 31.73 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.3607, allocations: 21.72 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3608, allocations: 314.8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.3609, allocations: 12 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.3609, allocations: 16.12 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.361, allocations: 36.84 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.361, allocations: 3.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001248/0.3611, allocations: 73.61 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3611, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3611, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3611, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.3612, allocations: 15.98 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3612, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.3612, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3612, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 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 (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 8.157e-05/0.3613, allocations: 114.4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.3613, allocations: 7.953 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.3615, allocations: 81.45 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3615, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3615, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3615, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3616, allocations: 117.3 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.3617, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.3617, allocations: 12 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3617, allocations: 7.984 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3617, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3617, allocations: 3.938 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3617, allocations: 192 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.3619, allocations: 117 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.362, allocations: 3.953 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.362, allocations: 8.031 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.362, allocations: 3.938 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.362, allocations: 7.984 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.362, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.3621, allocations: 83.34 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00022/0.3623, allocations: 27.94 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.000209/0.3625, allocations: 127.2 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.3626, allocations: 40.33 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3626, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.3627, allocations: 32.06 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.3628, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.3632, allocations: 171.2 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.3632, allocations: 69.22 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.3633, allocations: 11.44 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3633, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of Templates: time 0.002766/0.366, allocations: 0.9251 MB / 1.331 GB, free: 12.69 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.513684261124581] Failed to read output from testmodel.py, exit status != 0: 0.37439480889588594 0.38926608700000004 0.028227564 Calling exit ...