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.000974/0.000974, 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.001048/0.001048, allocations: 177 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.001692/0.001692, allocations: 238.4 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.7173/0.7173, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.583e-06/1.583e-06, allocations: 0 / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.374e-05, allocations: 7.703 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001354/0.001378, allocations: 0.619 MB / 463 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002977/0.001675, allocations: 152.5 kB / 463.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.0017, allocations: 1.438 kB / 463.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.001713, allocations: 1.203 kB / 463.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.873e-05/0.001732, allocations: 0.6875 kB / 463.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.001994, allocations: 47.34 kB / 463.2 MB, free: 416 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.814e-05/0.002042, allocations: 14.81 kB / 463.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.002076, allocations: 4.094 kB / 463.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.00211, allocations: 11.45 kB / 463.2 MB, free: 408 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.002174, allocations: 5.281 kB / 463.2 MB, free: 408 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.002187, allocations: 2.844 kB / 463.2 MB, free: 408 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.002258, allocations: 33.05 kB / 463.3 MB, free: 400 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.002272, allocations: 6.625 kB / 463.3 MB, free: 396 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.002285, allocations: 3.703 kB / 463.3 MB, free: 396 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.405e-05/0.002369, allocations: 37 kB / 463.3 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.002372, allocations: 1.812 kB / 463.3 MB, free: 384 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.002374, allocations: 0.9375 kB / 463.3 MB, free: 384 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.002376, allocations: 0 / 463.3 MB, free: 384 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.0002279/0.002604, allocations: 236.5 kB / 463.5 MB, free: 140 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.002635, allocations: 11 kB / 463.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.002661, allocations: 4.016 kB / 463.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.389e-05/0.002715, allocations: 110.9 kB / 463.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.002724, allocations: 2.312 kB / 463.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.002744, allocations: 3.406 kB / 463.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.002839, allocations: 66.72 kB / 463.7 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.002845, allocations: 1.516 kB / 463.7 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.002852, allocations: 4.047 kB / 463.7 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.002858, allocations: 0.9375 kB / 463.7 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.002881, allocations: 13.28 kB / 463.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.668e-05/0.002968, allocations: 67.25 kB / 463.8 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.003032, allocations: 37.05 kB / 463.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.003052, allocations: 19.56 kB / 463.9 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.00328, allocations: 62.56 kB / 463.9 MB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.003302, allocations: 33.88 kB / 464 MB, free: 15.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.003302, allocations: 0.875 kB / 464 MB, free: 15.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.000772/0.004074, allocations: 414.1 kB / 464.4 MB, free: 15.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.004104, allocations: 53.84 kB / 464.4 MB, free: 15.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.279e-05/0.004156, allocations: 98.69 kB / 464.5 MB, free: 15.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.004173, allocations: 30.36 kB / 464.6 MB, free: 15.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.004194, allocations: 82.03 kB / 464.6 MB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.00423, allocations: 24.64 kB / 464.7 MB, free: 15.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.004258, allocations: 22.28 kB / 464.7 MB, free: 15.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.004339, allocations: 322.4 kB / 465 MB, free: 14.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.004351, allocations: 5.844 kB / 465 MB, free: 14.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.004363, allocations: 7.922 kB / 465 MB, free: 14.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.004403, allocations: 28.28 kB / 465 MB, free: 14.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.004404, allocations: 0.6562 kB / 465 MB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.937e-05/0.004464, allocations: 63.22 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.004475, allocations: 7 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.004479, allocations: 0 / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.004492, allocations: 0.6562 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.004542, allocations: 14.19 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.004546, allocations: 2.5 kB / 465.1 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.004561, allocations: 5.062 kB / 465.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.00457, allocations: 3.25 kB / 465.1 MB, free: 14.79 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 5.899e-05/0.004629, allocations: 114.6 kB / 465.2 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.004637, allocations: 3.125 kB / 465.2 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.004731, allocations: 64.11 kB / 465.3 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.004734, allocations: 1.672 kB / 465.3 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.004736, allocations: 2.375 kB / 465.3 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.00474, allocations: 2.578 kB / 465.3 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.312e-05/0.004823, allocations: 82.92 kB / 465.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004824, allocations: 0 / 465.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.004863, allocations: 13.34 kB / 465.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.004865, allocations: 1.25 kB / 465.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.004871, allocations: 1.578 kB / 465.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004871, allocations: 1.188 kB / 465.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.004873, allocations: 2.812 kB / 465.4 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.00497, allocations: 100 kB / 465.5 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.004976, allocations: 7.266 kB / 465.5 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.004985, allocations: 1.406 kB / 465.5 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.005001, allocations: 6.094 kB / 465.5 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.005014, allocations: 6.719 kB / 465.5 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.005019, allocations: 2.062 kB / 465.5 MB, free: 14.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.659e-06/0.005029, allocations: 9.547 kB / 465.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005029, allocations: 2.281 kB / 465.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001288/0.005157, allocations: 28.59 kB / 465.6 MB, free: 14.45 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.0001328/0.00529, allocations: 112.6 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.589e-05/0.005356, allocations: 36.89 kB / 465.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.005359, allocations: 5.875 kB / 465.7 MB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.005379, allocations: 28.81 kB / 465.8 MB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.945e-05/0.005438, allocations: 11.67 kB / 465.8 MB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.005647, allocations: 128.8 kB / 465.9 MB, free: 14.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.581e-05/0.005673, allocations: 58.7 kB / 465.9 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.595e-05/0.005699, allocations: 6.406 kB / 466 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.005741, allocations: 62.64 kB / 466 MB, free: 14.1 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.005742, allocations: 0 / 466 MB, free: 14.1 MB / 426.7 MB Notification: Performance of Templates: time 0.002586/0.008328, allocations: 1.016 MB / 467 MB, free: 13.82 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5100900162942708]