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.001676/0.001676, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002287/0.002287, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.371/3.371, allocations: 0.49 GB / 0.7958 GB, free: 33.35 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.002084/0.002084, allocations: 80.61 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3516, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001785/0.3534, allocations: 0.6137 MB / 1.328 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.3538, allocations: 163.9 kB / 1.328 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.3538, allocations: 0 / 1.328 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.3539, allocations: 0 / 1.328 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.288e-05/0.3539, allocations: 0 / 1.328 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.3542, allocations: 35.89 kB / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.3542, allocations: 19.92 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.3543, allocations: 0 / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.3543, allocations: 15.92 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.3544, allocations: 7.984 kB / 1.328 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3544, allocations: 4 kB / 1.328 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.3545, allocations: 31.97 kB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.3545, allocations: 3.938 kB / 1.328 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.3545, allocations: 11.98 kB / 1.328 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3546, allocations: 35.83 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3546, allocations: 0 / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3546, allocations: 0 / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3546, allocations: 0 / 1.328 GB, free: 0.5117 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.0003998/0.355, allocations: 254.3 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3551, allocations: 16.03 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3551, allocations: 4.891 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.3552, allocations: 110.5 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3552, allocations: 4.375 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3552, allocations: 384 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3553, allocations: 42.25 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3554, allocations: 8.125 kB / 1.329 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3554, allocations: 3.938 kB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3554, allocations: 4 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.3554, allocations: 16.03 kB / 1.329 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.3556, allocations: 128.7 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3557, allocations: 42.62 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.3557, allocations: 16.98 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.3558, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3558, allocations: 42.48 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.3558, allocations: 0 / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.001357/0.3572, allocations: 414.8 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3573, allocations: 55.41 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.3573, allocations: 93.86 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3574, allocations: 25.7 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.3574, allocations: 80.14 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3574, allocations: 31.73 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.3575, allocations: 21.84 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3577, allocations: 326.8 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.682e-05/0.3577, allocations: 4 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.3577, allocations: 16.42 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.361e-05/0.3578, allocations: 40.8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.3578, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001237/0.3579, allocations: 69.67 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3579, allocations: 9.969 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.358, allocations: 0 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.358, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.3581, allocations: 19.98 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3581, allocations: 4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.3581, allocations: 0 / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3581, allocations: 0 / 1.33 GB, free: 14.4 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 0.0001041/0.3582, allocations: 118.3 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.3582, allocations: 11.88 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.3584, allocations: 77.58 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3584, allocations: 4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3584, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.3584, allocations: 3.984 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.3585, allocations: 136.7 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3586, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.3586, allocations: 11.94 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3586, allocations: 3.938 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3586, allocations: 7.984 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3586, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3586, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3589, allocations: 117.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.3589, allocations: 11.92 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3589, allocations: 3.938 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.654e-05/0.359, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.359, allocations: 7.984 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.359, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.359, allocations: 75.28 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.359, allocations: 160 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002271/0.3593, allocations: 35.94 kB / 1.331 GB, free: 13.69 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.0003055/0.3596, allocations: 131.1 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3597, allocations: 31.98 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3597, allocations: 0 / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.993e-05/0.3597, allocations: 27.92 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3599, allocations: 3.938 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.3602, allocations: 175.1 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3606, allocations: 0.6807 MB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.3606, allocations: 11.44 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3606, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Templates: time 0.002737/0.3633, allocations: 0.9212 MB / 1.332 GB, free: 11.65 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.429537267016713] Failed to read output from testmodel.py, exit status != 0: 0.3716488259960897 0.387606445 0.029652396 Calling exit ...