Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001127/0.001127, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001312/0.001312, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 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.002678/0.002678, allocations: 234.3 kB / 260.5 MB, free: 12.71 MB / 250.7 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.8354/0.8354, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.75 kB / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.104e-05, allocations: 4.906 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001683/0.001704, allocations: 0.6647 MB / 463.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.00203, allocations: 154.9 kB / 463.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.002055, allocations: 1.844 kB / 463.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.002067, allocations: 0 / 463.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.079e-05/0.002088, allocations: 2.062 kB / 463.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.002337, allocations: 38.31 kB / 463.3 MB, free: 380 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.816e-05/0.002385, allocations: 19.39 kB / 463.3 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.385e-05/0.002419, allocations: 3.125 kB / 463.3 MB, free: 372 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.002455, allocations: 7.453 kB / 463.3 MB, free: 372 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.002516, allocations: 6.219 kB / 463.3 MB, free: 372 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.002529, allocations: 1.562 kB / 463.3 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.002632, allocations: 40.64 kB / 463.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.002648, allocations: 4.484 kB / 463.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.002663, allocations: 8.656 kB / 463.4 MB, free: 356 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.002758, allocations: 32.56 kB / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00276, allocations: 0 / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00276, allocations: 0.6562 kB / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.002763, allocations: 2.812 kB / 463.4 MB, free: 348 kB / 410.7 MB 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.0002187/0.002982, allocations: 235.8 kB / 463.6 MB, free: 104 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.003015, allocations: 11.23 kB / 463.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.003042, allocations: 4.516 kB / 463.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.003119, allocations: 106.2 kB / 463.7 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.003131, allocations: 8.344 kB / 463.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003051/0.006182, allocations: 7.094 kB / 463.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.129e-05/0.006273, allocations: 67.12 kB / 463.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.00628, allocations: 192 / 463.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.006288, allocations: 3.406 kB / 463.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006293, allocations: 384 / 463.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.00632, allocations: 13.03 kB / 463.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.006423, allocations: 67.11 kB / 463.9 MB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.006496, allocations: 37.52 kB / 463.9 MB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.006518, allocations: 18.64 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.006777, allocations: 60.05 kB / 464 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.006802, allocations: 38.33 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.006803, allocations: 1.562 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008723/0.007675, allocations: 410.2 kB / 464.5 MB, free: 15.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.0077, allocations: 56.62 kB / 464.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.788e-05/0.007748, allocations: 97.75 kB / 464.6 MB, free: 15.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.007759, allocations: 27.39 kB / 464.6 MB, free: 15.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.007782, allocations: 80.66 kB / 464.7 MB, free: 15.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.007816, allocations: 30.66 kB / 464.8 MB, free: 15.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.00785, allocations: 22.2 kB / 464.8 MB, free: 15.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.007931, allocations: 322.6 kB / 465.1 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.007944, allocations: 5.953 kB / 465.1 MB, free: 14.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.007957, allocations: 6.406 kB / 465.1 MB, free: 14.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.008, allocations: 28.59 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.008001, allocations: 0 / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.003078/0.01108, allocations: 59.55 kB / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01109, allocations: 6.312 kB / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.0111, allocations: 1.562 kB / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01111, allocations: 1.594 kB / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.01118, allocations: 15.3 kB / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01119, allocations: 0 / 465.2 MB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.01121, allocations: 9.5 kB / 465.2 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.01122, allocations: 2.75 kB / 465.2 MB, free: 14.75 MB / 426.7 MB 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 6.116e-05/0.01128, allocations: 113.2 kB / 465.3 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.0113, allocations: 7.906 kB / 465.3 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.01142, allocations: 62.3 kB / 465.4 MB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.01142, allocations: 7.734 kB / 465.4 MB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01142, allocations: 2.281 kB / 465.4 MB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01143, allocations: 0 / 465.4 MB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.15e-05/0.01151, allocations: 76.72 kB / 465.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01151, allocations: 0 / 465.5 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.01157, allocations: 17.09 kB / 465.5 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01157, allocations: 1.156 kB / 465.5 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.01158, allocations: 2.531 kB / 465.5 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01158, allocations: 3 kB / 465.5 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01159, allocations: 1.188 kB / 465.5 MB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.01171, allocations: 94.39 kB / 465.6 MB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.01172, allocations: 10.91 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.01174, allocations: 1.75 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.01176, allocations: 2.906 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.01178, allocations: 5.203 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.01178, allocations: 3.422 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.174e-05/0.01179, allocations: 10.23 kB / 465.6 MB, free: 14.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01179, allocations: 0.75 kB / 465.6 MB, free: 14.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.01199, allocations: 24.55 kB / 465.7 MB, free: 14.42 MB / 426.7 MB 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.0001685/0.01216, allocations: 117.2 kB / 465.8 MB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.01224, allocations: 40.41 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01224, allocations: 3.625 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.01227, allocations: 20.97 kB / 465.8 MB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.662e-05/0.01235, allocations: 18.91 kB / 465.9 MB, free: 14.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.0126, allocations: 124.8 kB / 466 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.01264, allocations: 58.83 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.01267, allocations: 10.73 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.01272, allocations: 58.58 kB / 466.1 MB, free: 14.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01273, allocations: 0 / 466.1 MB, free: 14.07 MB / 426.7 MB Notification: Performance of Templates: time 0.006043/0.01877, allocations: 1.02 MB / 467.1 MB, free: 13.73 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6786144291982055]