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.001557/0.001557, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001715/0.001715, allocations: 220.6 kB / 23.01 MB, free: 4.609 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] 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.002423/0.002423, allocations: 285.2 kB / 313.5 MB, free: 2.863 MB / 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 1.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 13.04 MB / 382.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.002821/0.002821, allocations: 101.6 kB / 0.7409 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1906, allocations: 95.38 MB / 0.834 GB, free: 8.133 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001719/0.1923, allocations: 0.6116 MB / 0.8346 GB, free: 7.52 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.1927, allocations: 171.8 kB / 0.8348 GB, free: 7.352 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.1928, allocations: 4 kB / 0.8348 GB, free: 7.348 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.1928, allocations: 0 / 0.8348 GB, free: 7.348 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 2.322e-05/0.1928, allocations: 7.938 kB / 0.8348 GB, free: 7.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1931, allocations: 39.89 kB / 0.8348 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.1932, allocations: 12 kB / 0.8348 GB, free: 7.289 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.1932, allocations: 4 kB / 0.8348 GB, free: 7.285 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.1932, allocations: 7.922 kB / 0.8348 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.1933, allocations: 11.92 kB / 0.8348 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1933, allocations: 0 / 0.8348 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.1934, allocations: 35.97 kB / 0.8349 GB, free: 7.23 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1934, allocations: 7.984 kB / 0.8349 GB, free: 7.223 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.1934, allocations: 3.938 kB / 0.8349 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1935, allocations: 31.89 kB / 0.8349 GB, free: 7.188 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1935, allocations: 8 kB / 0.8349 GB, free: 7.18 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1935, allocations: 0 / 0.8349 GB, free: 7.18 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1935, allocations: 0 / 0.8349 GB, free: 7.18 MB / 0.5763 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.0003825/0.1939, allocations: 254.3 kB / 0.8352 GB, free: 6.898 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1939, allocations: 12.75 kB / 0.8352 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.194, allocations: 4.922 kB / 0.8352 GB, free: 6.883 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.1941, allocations: 114.5 kB / 0.8353 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1941, allocations: 384 / 0.8353 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1941, allocations: 4.375 kB / 0.8353 GB, free: 6.742 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1942, allocations: 46.25 kB / 0.8353 GB, free: 6.691 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1942, allocations: 192 / 0.8353 GB, free: 6.691 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1942, allocations: 7.938 kB / 0.8353 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1943, allocations: 0 / 0.8353 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.1943, allocations: 11.98 kB / 0.8354 GB, free: 6.672 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1945, allocations: 132.7 kB / 0.8355 GB, free: 6.5 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.1946, allocations: 46.56 kB / 0.8355 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.1946, allocations: 20.98 kB / 0.8356 GB, free: 6.422 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.449e-05/0.1947, allocations: 7.984 kB / 0.8356 GB, free: 6.414 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.1947, allocations: 30.56 kB / 0.8356 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1947, allocations: 0 / 0.8356 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of matching and sorting (n=7): time 0.001225/0.1959, allocations: 418.9 kB / 0.836 GB, free: 5.91 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.196, allocations: 55.34 kB / 0.836 GB, free: 5.844 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.196, allocations: 93.86 kB / 0.8361 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.196, allocations: 29.7 kB / 0.8362 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.1961, allocations: 84.14 kB / 0.8362 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1961, allocations: 19.78 kB / 0.8363 GB, free: 5.602 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1962, allocations: 25.72 kB / 0.8363 GB, free: 5.57 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.1963, allocations: 314.8 kB / 0.8366 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.1963, allocations: 12 kB / 0.8366 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.1963, allocations: 15.98 kB / 0.8366 GB, free: 5.227 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.172e-05/0.1964, allocations: 36.97 kB / 0.8366 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1964, allocations: 0 / 0.8366 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001096/0.1965, allocations: 73.58 kB / 0.8367 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1965, allocations: 11.94 kB / 0.8367 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1965, allocations: 0 / 0.8367 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1966, allocations: 0 / 0.8367 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.1966, allocations: 15.98 kB / 0.8367 GB, free: 5.082 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1966, allocations: 3.938 kB / 0.8367 GB, free: 5.078 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.1967, allocations: 4.375 kB / 0.8367 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1967, allocations: 4 kB / 0.8368 GB, free: 5.07 MB / 0.5763 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.301e-05/0.1967, allocations: 114.5 kB / 0.8369 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.1968, allocations: 7.938 kB / 0.8369 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.1969, allocations: 85.81 kB / 0.837 GB, free: 4.848 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1969, allocations: 4 kB / 0.837 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.1969, allocations: 7.984 kB / 0.837 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1969, allocations: 0 / 0.837 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1971, allocations: 136.7 kB / 0.8371 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1971, allocations: 0 / 0.8371 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.1971, allocations: 16 kB / 0.8371 GB, free: 4.645 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1971, allocations: 7.922 kB / 0.8371 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1972, allocations: 0 / 0.8371 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1972, allocations: 0 / 0.8371 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1972, allocations: 0 / 0.8371 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1973, allocations: 121 kB / 0.8372 GB, free: 4.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.1974, allocations: 7.922 kB / 0.8372 GB, free: 4.492 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1974, allocations: 0 / 0.8372 GB, free: 4.492 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.082e-05/0.1974, allocations: 8.094 kB / 0.8372 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.1974, allocations: 3.984 kB / 0.8373 GB, free: 4.48 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1974, allocations: 4 kB / 0.8373 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.1975, allocations: 79.28 kB / 0.8373 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1975, allocations: 0 / 0.8373 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002095/0.1977, allocations: 27.94 kB / 0.8374 GB, free: 4.371 MB / 0.5763 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.0002134/0.1979, allocations: 131.2 kB / 0.8375 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.198, allocations: 40.02 kB / 0.8375 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.198, allocations: 0 / 0.8375 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.198, allocations: 19.98 kB / 0.8375 GB, free: 4.176 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.1982, allocations: 10.62 kB / 0.8375 GB, free: 4.168 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.1985, allocations: 159.3 kB / 0.8377 GB, free: 3.98 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1988, allocations: 0.6807 MB / 0.8384 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.1989, allocations: 15.38 kB / 0.8384 GB, free: 3.258 MB / 0.5763 GB Notification: Performance of SimCode: time 3.31e-07/0.1989, allocations: 3.938 kB / 0.8384 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of Templates: time 0.002568/0.2014, allocations: 0.9343 MB / 0.8393 GB, free: 2.328 MB / 0.5763 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.020591611973941] Failed to read output from testmodel.py, exit status != 0: 0.20917690079659224 0.223286226 0.026925943 Calling exit ...