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.00125/0.00125, allocations: 83.73 kB / 19.76 MB, free: 2.02 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.001334/0.001334, allocations: 161.8 kB / 23 MB, free: 4.945 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.343/1.343, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 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.002459/0.002459, allocations: 241.9 kB / 260 MB, free: 420 kB / 238.1 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.8852/0.8852, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 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: NcDataReader2 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: BuildingSystems 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.003066/0.003066, allocations: 99.84 kB / 0.6474 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3775, allocations: 95.34 MB / 0.7405 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001526/0.379, allocations: 0.6033 MB / 0.7411 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003391/0.3794, allocations: 152.9 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.3794, allocations: 1.094 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.142e-05/0.3794, allocations: 3.938 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.3794, allocations: 0 / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.3797, allocations: 48.2 kB / 0.7413 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 4.292e-05/0.3797, allocations: 8.969 kB / 0.7413 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.3798, allocations: 9.812 kB / 0.7413 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.3798, allocations: 3.828 kB / 0.7413 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.3799, allocations: 12.94 kB / 0.7413 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3799, allocations: 1.031 kB / 0.7413 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.3799, allocations: 37.39 kB / 0.7413 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.38, allocations: 2.094 kB / 0.7413 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.38, allocations: 6.953 kB / 0.7414 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 8.985e-05/0.3801, allocations: 30.8 kB / 0.7414 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3801, allocations: 0.6094 kB / 0.7414 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3801, allocations: 0 / 0.7414 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3801, allocations: 1.094 kB / 0.7414 GB, free: 16.95 MB / 0.5919 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.0002774/0.3803, allocations: 261.9 kB / 0.7416 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.3804, allocations: 11.03 kB / 0.7416 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.3804, allocations: 2.125 kB / 0.7416 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.73e-05/0.3805, allocations: 109 kB / 0.7418 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.3805, allocations: 1.75 kB / 0.7418 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3805, allocations: 7.281 kB / 0.7418 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.3806, allocations: 68.03 kB / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3806, allocations: 192 / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3806, allocations: 5.781 kB / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3806, allocations: 0 / 0.7418 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.014e-05/0.3807, allocations: 19.16 kB / 0.7418 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.848e-05/0.3808, allocations: 119.9 kB / 0.742 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/0.3808, allocations: 43.14 kB / 0.742 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.3809, allocations: 22.8 kB / 0.742 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.3809, allocations: 5.031 kB / 0.742 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3809, allocations: 32.36 kB / 0.7421 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3809, allocations: 0 / 0.7421 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.001033/0.382, allocations: 421.5 kB / 0.7425 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.382, allocations: 53.47 kB / 0.7425 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.356e-05/0.382, allocations: 92.91 kB / 0.7426 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.382, allocations: 25.7 kB / 0.7426 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/0.382, allocations: 85.27 kB / 0.7427 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.3821, allocations: 20.47 kB / 0.7427 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3821, allocations: 30.22 kB / 0.7428 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.211e-05/0.3821, allocations: 313.5 kB / 0.7431 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.3822, allocations: 12.83 kB / 0.7431 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.3822, allocations: 13.69 kB / 0.7431 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.63e-05/0.3822, allocations: 39.78 kB / 0.7431 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.3822, allocations: 1.094 kB / 0.7431 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.939e-05/0.3823, allocations: 74.78 kB / 0.7432 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3823, allocations: 8.672 kB / 0.7432 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3823, allocations: 3.938 kB / 0.7432 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3824, allocations: 1.281 kB / 0.7432 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.3824, allocations: 16.64 kB / 0.7432 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3824, allocations: 1.125 kB / 0.7432 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.3825, allocations: 1.406 kB / 0.7432 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3825, allocations: 1.984 kB / 0.7432 GB, free: 15.2 MB / 0.5919 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 3.828e-05/0.3825, allocations: 113.7 kB / 0.7433 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.3825, allocations: 1.312 kB / 0.7433 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.3826, allocations: 88.97 kB / 0.7434 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3826, allocations: 1.188 kB / 0.7434 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.3827, allocations: 192 / 0.7434 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3827, allocations: 5.797 kB / 0.7434 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.553e-05/0.3827, allocations: 113.6 kB / 0.7435 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3827, allocations: 1.469 kB / 0.7435 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.3828, allocations: 16.44 kB / 0.7436 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3828, allocations: 0.9688 kB / 0.7436 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.3828, allocations: 2.016 kB / 0.7436 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3828, allocations: 3.938 kB / 0.7436 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3828, allocations: 1.875 kB / 0.7436 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.3829, allocations: 118.5 kB / 0.7437 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-06/0.3829, allocations: 2.094 kB / 0.7437 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.383, allocations: 2.25 kB / 0.7437 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.383, allocations: 13.66 kB / 0.7437 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.383, allocations: 9.5 kB / 0.7437 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.383, allocations: 2.062 kB / 0.7437 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.388e-05/0.383, allocations: 77.22 kB / 0.7438 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.383, allocations: 0 / 0.7438 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002082/0.3832, allocations: 33.66 kB / 0.7438 GB, free: 14.69 MB / 0.5919 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.0001393/0.3834, allocations: 125.3 kB / 0.7439 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.3835, allocations: 39.67 kB / 0.744 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3835, allocations: 4.094 kB / 0.744 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.3835, allocations: 20.52 kB / 0.744 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.3836, allocations: 2.688 kB / 0.744 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.3839, allocations: 144.7 kB / 0.7441 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.841e-05/0.3839, allocations: 65.05 kB / 0.7442 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.3839, allocations: 6.297 kB / 0.7442 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.384, allocations: 17.02 kB / 0.7442 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.384, allocations: 0 / 0.7442 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of Templates: time 0.003114/0.3871, allocations: 0.8624 MB / 0.7451 GB, free: 14.28 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.359996570041403] Failed to read output from testmodel.py, exit status != 0: 0.39391285309102386 0.40386889099999995 0.021497042 Calling exit ...