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.001397/0.001397, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001705/0.001705, allocations: 216 kB / 22.25 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.777 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.002483/0.002483, allocations: 289 kB / 312.7 MB, free: 2.582 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.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 14.4 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.002902/0.002902, allocations: 104.3 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1934, allocations: 95.38 MB / 0.8327 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002909/0.1963, allocations: 0.6077 MB / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006821/0.197, allocations: 143.9 kB / 0.8334 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.197, allocations: 0 / 0.8334 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.197, allocations: 3.938 kB / 0.8334 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.197, allocations: 0 / 0.8334 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.1975, allocations: 43.89 kB / 0.8335 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.1976, allocations: 15.98 kB / 0.8335 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.1976, allocations: 0 / 0.8335 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.1976, allocations: 7.984 kB / 0.8335 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.1977, allocations: 23.86 kB / 0.8335 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1977, allocations: 0 / 0.8335 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1979, allocations: 27.97 kB / 0.8335 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.1979, allocations: 4 kB / 0.8335 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.1979, allocations: 11.92 kB / 0.8335 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.198, allocations: 28.17 kB / 0.8336 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1981, allocations: 0 / 0.8336 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1981, allocations: 0 / 0.8336 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1981, allocations: 3.938 kB / 0.8336 GB, free: 7.332 MB / 0.5762 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.0005181/0.1986, allocations: 258.3 kB / 0.8338 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.1986, allocations: 17.34 kB / 0.8338 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.1987, allocations: 38.73 kB / 0.8339 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1987, allocations: 4.875 kB / 0.8339 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1989, allocations: 106.5 kB / 0.834 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1989, allocations: 384 / 0.834 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.199, allocations: 4.375 kB / 0.834 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1991, allocations: 71.95 kB / 0.8341 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1992, allocations: 3.938 kB / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1992, allocations: 4 kB / 0.8341 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1992, allocations: 0 / 0.8341 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.1992, allocations: 15.92 kB / 0.8341 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.1995, allocations: 136.8 kB / 0.8342 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1997, allocations: 42.56 kB / 0.8343 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.1997, allocations: 16.97 kB / 0.8343 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.771e-05/0.1998, allocations: 4 kB / 0.8343 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.1999, allocations: 34.56 kB / 0.8343 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.734e-06/0.1999, allocations: 0 / 0.8343 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001848/0.2017, allocations: 423.2 kB / 0.8347 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.2018, allocations: 51.41 kB / 0.8348 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.2019, allocations: 97.86 kB / 0.8349 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2019, allocations: 25.7 kB / 0.8349 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.202, allocations: 84.14 kB / 0.835 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.202, allocations: 23.78 kB / 0.835 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.2021, allocations: 21.72 kB / 0.835 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.2023, allocations: 314.8 kB / 0.8353 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.2024, allocations: 15.98 kB / 0.8353 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.2024, allocations: 12 kB / 0.8353 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.2025, allocations: 36.84 kB / 0.8354 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2025, allocations: 0 / 0.8354 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002221/0.2027, allocations: 85.72 kB / 0.8354 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2028, allocations: 14.31 kB / 0.8355 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2028, allocations: 0 / 0.8355 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2028, allocations: 0 / 0.8355 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2029, allocations: 15.98 kB / 0.8355 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2029, allocations: 0 / 0.8355 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.203, allocations: 3.938 kB / 0.8355 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.203, allocations: 7.938 kB / 0.8355 GB, free: 5.133 MB / 0.5762 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 0.0001198/0.2031, allocations: 110.5 kB / 0.8356 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.2031, allocations: 7.938 kB / 0.8356 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.2034, allocations: 85.52 kB / 0.8357 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2034, allocations: 4 kB / 0.8357 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2034, allocations: 0 / 0.8357 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2034, allocations: 0 / 0.8357 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2036, allocations: 132.7 kB / 0.8358 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2036, allocations: 0 / 0.8358 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2038, allocations: 23.92 kB / 0.8358 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2038, allocations: 0 / 0.8358 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2038, allocations: 0 / 0.8358 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2038, allocations: 0 / 0.8358 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2038, allocations: 0 / 0.8358 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.2041, allocations: 121 kB / 0.8359 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.2041, allocations: 3.938 kB / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2041, allocations: 8.031 kB / 0.836 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.2042, allocations: 0 / 0.836 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.2042, allocations: 7.984 kB / 0.836 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2042, allocations: 0 / 0.836 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.63e-05/0.2043, allocations: 79.28 kB / 0.836 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2043, allocations: 0 / 0.836 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004084/0.2047, allocations: 35.92 kB / 0.8361 GB, free: 4.445 MB / 0.5762 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.0009586/0.2057, allocations: 0.6789 MB / 0.8367 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.2059, allocations: 39.97 kB / 0.8368 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2059, allocations: 0 / 0.8368 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.2059, allocations: 19.94 kB / 0.8368 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.2062, allocations: 4 kB / 0.8368 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.208, allocations: 1.193 MB / 0.838 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.2081, allocations: 63.36 kB / 0.838 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.286e-05/0.2082, allocations: 16.03 kB / 0.838 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.2082, allocations: 15.38 kB / 0.8381 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.2082, allocations: 0 / 0.8381 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04317/0.2514, allocations: 2.328 MB / 0.8403 GB, free: 140 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.33, allocations: 5.312 kB / 0.8403 GB, free: 136 kB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.457443686202168] Failed to read output from testmodel.py, exit status != 0: 11.43558523338288 11.452210774 11.250913493 Calling exit ...