Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 489.2 MB / 0.7687 GB, free: 3.812 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 67.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8386, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001583/0.8402, allocations: 0.6135 MB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.8406, allocations: 155 kB / 1.263 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.8406, allocations: 4.719 kB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.8406, allocations: 0 / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.111e-05/0.8407, allocations: 0 / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.841, allocations: 42.38 kB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.841, allocations: 10.59 kB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.8411, allocations: 2.734 kB / 1.263 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.8411, allocations: 15.2 kB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.8411, allocations: 8.906 kB / 1.263 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.8412, allocations: 5.375 kB / 1.263 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.8412, allocations: 35.78 kB / 1.263 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.8413, allocations: 2.625 kB / 1.263 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.8413, allocations: 11.28 kB / 1.264 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.597e-05/0.8414, allocations: 29.06 kB / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8414, allocations: 0.8125 kB / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8414, allocations: 0 / 1.264 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.8414, allocations: 0 / 1.264 GB, free: 7.484 MB / 0.9981 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.0003109/0.8417, allocations: 330.8 kB / 1.264 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.8418, allocations: 13.31 kB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.8418, allocations: 3.5 kB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.564e-05/0.8419, allocations: 161.6 kB / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8419, allocations: 5.906 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.8419, allocations: 3.156 kB / 1.264 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.842, allocations: 42.39 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.842, allocations: 192 / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.8421, allocations: 8.75 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.8421, allocations: 0.9062 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.439e-05/0.8421, allocations: 18.83 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.8422, allocations: 163.1 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/0.8423, allocations: 44.3 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.8424, allocations: 19.31 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.8424, allocations: 80.7 kB / 1.264 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.8425, allocations: 37.08 kB / 1.264 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.8425, allocations: 0 / 1.264 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001088/0.8436, allocations: 497.8 kB / 1.265 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.8436, allocations: 56.31 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.746e-05/0.8436, allocations: 96.31 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.8437, allocations: 26.52 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.187e-05/0.8437, allocations: 80.8 kB / 1.265 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.8437, allocations: 25.31 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.8437, allocations: 29.02 kB / 1.265 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.8438, allocations: 313.6 kB / 1.265 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.8438, allocations: 12.25 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.8439, allocations: 13.67 kB / 1.266 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.342e-05/0.8439, allocations: 39.84 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.8439, allocations: 0.75 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001027/0.844, allocations: 71.25 kB / 1.266 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8441, allocations: 8.875 kB / 1.266 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8441, allocations: 0.75 kB / 1.266 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.8441, allocations: 5.484 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.8442, allocations: 12.27 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.8442, allocations: 0.8438 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.8442, allocations: 6.281 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.8442, allocations: 1.75 kB / 1.266 GB, free: 5.352 MB / 0.9981 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 4.538e-05/0.8443, allocations: 116.3 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.8443, allocations: 6.438 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.8444, allocations: 76.75 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8445, allocations: 5.438 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.8445, allocations: 256 / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8445, allocations: 5.5 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.546e-05/0.8446, allocations: 170.5 kB / 1.266 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8446, allocations: 0.8125 kB / 1.266 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.8446, allocations: 12.92 kB / 1.266 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8447, allocations: 9.016 kB / 1.266 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.8447, allocations: 1.422 kB / 1.266 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.8447, allocations: 4.625 kB / 1.266 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8447, allocations: 0.8125 kB / 1.266 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.8449, allocations: 122.2 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.8449, allocations: 83.58 kB / 1.266 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.8449, allocations: 1.219 kB / 1.266 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/0.8449, allocations: 2.266 kB / 1.266 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.845, allocations: 8.578 kB / 1.266 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.845, allocations: 2.891 kB / 1.266 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.597e-05/0.845, allocations: 76.64 kB / 1.266 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.845, allocations: 4.156 kB / 1.266 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002219/0.8452, allocations: 29.5 kB / 1.266 GB, free: 4.676 MB / 0.9981 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.0001893/0.8454, allocations: 135.9 kB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.8456, allocations: 37.94 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.8456, allocations: 0.9688 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.8456, allocations: 24.23 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.8458, allocations: 7.391 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.8461, allocations: 166.6 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.8462, allocations: 0.6801 MB / 1.267 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.8462, allocations: 13.73 kB / 1.267 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.8462, allocations: 0 / 1.267 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of Templates: time 0.002732/0.8489, allocations: 0.914 MB / 1.268 GB, free: 3.625 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 10.592970376834273] Failed to read output from testmodel.py, exit status != 0: 0.8555998241063207 0.867102279 0.023326057 Calling exit ...