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.001334/0.001334, allocations: 111.1 kB / 17.13 MB, free: 5.926 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.001342/0.001342, allocations: 205 kB / 20.09 MB, free: 2.977 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.955/2.955, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.002023/0.002023, allocations: 75.89 kB / 1.15 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 176.1 MB / 1.322 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001821/1.015, allocations: 0.6089 MB / 1.323 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004584/1.016, allocations: 157.8 kB / 1.323 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/1.016, allocations: 0 / 1.323 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/1.016, allocations: 1.031 kB / 1.323 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.025e-05/1.016, allocations: 0 / 1.323 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/1.016, allocations: 46.67 kB / 1.323 GB, free: 7.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.648e-05/1.016, allocations: 10.61 kB / 1.323 GB, free: 7.203 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/1.016, allocations: 6.125 kB / 1.323 GB, free: 7.199 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.94e-05/1.016, allocations: 10.78 kB / 1.323 GB, free: 7.191 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/1.016, allocations: 10.5 kB / 1.323 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/1.016, allocations: 1.312 kB / 1.323 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/1.016, allocations: 32.56 kB / 1.323 GB, free: 7.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/1.016, allocations: 9.375 kB / 1.323 GB, free: 7.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/1.016, allocations: 1.344 kB / 1.323 GB, free: 7.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/1.017, allocations: 36.59 kB / 1.323 GB, free: 7.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.017, allocations: 1.125 kB / 1.323 GB, free: 7.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.014e-06/1.017, allocations: 0 / 1.323 GB, free: 7.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.017, allocations: 4 kB / 1.323 GB, free: 7.133 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.0004561/1.017, allocations: 328.5 kB / 1.323 GB, free: 6.773 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.017, allocations: 14.23 kB / 1.323 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/1.017, allocations: 6.266 kB / 1.323 GB, free: 6.766 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/1.017, allocations: 166 kB / 1.323 GB, free: 6.566 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/1.017, allocations: 8.312 kB / 1.323 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/1.017, allocations: 3.062 kB / 1.323 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/1.017, allocations: 41.44 kB / 1.323 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.017, allocations: 4.188 kB / 1.323 GB, free: 6.516 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.017, allocations: 5.469 kB / 1.323 GB, free: 6.512 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.017, allocations: 3.938 kB / 1.323 GB, free: 6.508 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/1.017, allocations: 16.8 kB / 1.323 GB, free: 6.5 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/1.018, allocations: 154.7 kB / 1.324 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/1.018, allocations: 47.47 kB / 1.324 GB, free: 6.266 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/1.018, allocations: 15.64 kB / 1.324 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/1.018, allocations: 84.05 kB / 1.324 GB, free: 6.156 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.018, allocations: 39.89 kB / 1.324 GB, free: 6.109 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 3.156e-06/1.018, allocations: 3.984 kB / 1.324 GB, free: 6.105 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.001356/1.019, allocations: 491 kB / 1.324 GB, free: 5.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.019, allocations: 52.62 kB / 1.324 GB, free: 5.598 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/1.019, allocations: 96.42 kB / 1.324 GB, free: 5.496 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/1.019, allocations: 25.83 kB / 1.324 GB, free: 5.465 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/1.019, allocations: 85.39 kB / 1.325 GB, free: 5.379 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/1.02, allocations: 30.14 kB / 1.325 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/1.02, allocations: 26.88 kB / 1.325 GB, free: 5.324 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.02, allocations: 316.3 kB / 1.325 GB, free: 5.008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/1.02, allocations: 10.94 kB / 1.325 GB, free: 5.004 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/1.02, allocations: 15.33 kB / 1.325 GB, free: 4.996 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/1.02, allocations: 34.39 kB / 1.325 GB, free: 4.977 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/1.02, allocations: 1.656 kB / 1.325 GB, free: 4.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001162/1.02, allocations: 70.42 kB / 1.325 GB, free: 4.926 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.02, allocations: 9.438 kB / 1.325 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.02, allocations: 0 / 1.325 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.02, allocations: 1.062 kB / 1.325 GB, free: 4.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/1.02, allocations: 18.98 kB / 1.325 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/1.02, allocations: 0 / 1.325 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/1.02, allocations: 5.625 kB / 1.325 GB, free: 4.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/1.02, allocations: 2.125 kB / 1.325 GB, free: 4.91 MB / 1.014 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.805e-05/1.02, allocations: 111.9 kB / 1.325 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/1.02, allocations: 14.2 kB / 1.325 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/1.02, allocations: 75.52 kB / 1.325 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.02, allocations: 4.781 kB / 1.325 GB, free: 4.715 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.02, allocations: 5.094 kB / 1.325 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.02, allocations: 3.984 kB / 1.325 GB, free: 4.707 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/1.021, allocations: 165.3 kB / 1.325 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.021, allocations: 1.25 kB / 1.325 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.769e-05/1.021, allocations: 11.06 kB / 1.325 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.021, allocations: 3.938 kB / 1.325 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/1.021, allocations: 8.891 kB / 1.325 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.021, allocations: 1.078 kB / 1.325 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.021, allocations: 4.953 kB / 1.325 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/1.021, allocations: 113.7 kB / 1.326 GB, free: 4.395 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/1.021, allocations: 86.31 kB / 1.326 GB, free: 4.293 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/1.021, allocations: 5.188 kB / 1.326 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/1.021, allocations: 1.188 kB / 1.326 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/1.021, allocations: 14.89 kB / 1.326 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/1.021, allocations: 6.531 kB / 1.326 GB, free: 4.273 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.174e-05/1.021, allocations: 76.56 kB / 1.326 GB, free: 4.199 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/1.021, allocations: 0 / 1.326 GB, free: 4.199 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000221/1.021, allocations: 27.72 kB / 1.326 GB, free: 4.195 MB / 1.014 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.0002345/1.022, allocations: 138 kB / 1.326 GB, free: 4.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001304/1.022, allocations: 39.64 kB / 1.326 GB, free: 4.074 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.022, allocations: 0 / 1.326 GB, free: 4.074 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/1.022, allocations: 24.98 kB / 1.326 GB, free: 4.062 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/1.022, allocations: 2.75 kB / 1.326 GB, free: 4.062 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/1.022, allocations: 165 kB / 1.326 GB, free: 3.902 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/1.023, allocations: 0.6846 MB / 1.327 GB, free: 3.199 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/1.023, allocations: 15.38 kB / 1.327 GB, free: 3.188 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/1.023, allocations: 0 / 1.327 GB, free: 3.188 MB / 1.014 GB Notification: Performance of Templates: time 0.003259/1.026, allocations: 0.9273 MB / 1.328 GB, free: 2.715 MB / 1.014 GB " [Timeout remaining time 299] 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.501061671995558] Failed to read output from testmodel.py, exit status != 0: 1.034720769006526 1.055293027 0.034745576 Calling exit ...