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.001283/0.001283, 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.001449/0.001449, allocations: 210.5 kB / 22.24 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.785 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.002496/0.002496, allocations: 291.7 kB / 312.7 MB, free: 2.676 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.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.002901/0.002901, allocations: 109.7 kB / 0.7395 GB, free: 28.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1935, allocations: 95.38 MB / 0.8327 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001933/0.1954, allocations: 0.6125 MB / 0.8333 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004472/0.1958, allocations: 147.9 kB / 0.8334 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.1959, allocations: 0 / 0.8334 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.1959, allocations: 3.938 kB / 0.8334 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.312e-05/0.1959, allocations: 3.938 kB / 0.8334 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.1963, allocations: 35.89 kB / 0.8335 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.969e-05/0.1963, allocations: 15.98 kB / 0.8335 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.1964, allocations: 4 kB / 0.8335 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.1964, allocations: 3.938 kB / 0.8335 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.1965, allocations: 19.97 kB / 0.8335 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1965, allocations: 0 / 0.8335 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.1966, allocations: 27.97 kB / 0.8335 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.1966, allocations: 8 kB / 0.8335 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1966, allocations: 3.938 kB / 0.8335 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1967, allocations: 40.09 kB / 0.8336 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1967, allocations: 0 / 0.8336 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1967, allocations: 0 / 0.8336 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1967, allocations: 0 / 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.0004554/0.1972, allocations: 262.2 kB / 0.8338 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1972, allocations: 13.34 kB / 0.8338 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.1973, allocations: 34.75 kB / 0.8339 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.1973, allocations: 4.938 kB / 0.8339 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1974, allocations: 106.5 kB / 0.834 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1974, allocations: 384 / 0.834 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1975, allocations: 4.375 kB / 0.834 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1976, allocations: 75.94 kB / 0.8341 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1976, allocations: 3.938 kB / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1976, allocations: 0 / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1976, allocations: 0 / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.1977, allocations: 11.94 kB / 0.8341 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.1979, allocations: 140.8 kB / 0.8342 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.198, allocations: 42.56 kB / 0.8343 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.198, allocations: 20.97 kB / 0.8343 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.312e-05/0.1981, allocations: 4 kB / 0.8343 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1981, allocations: 30.56 kB / 0.8343 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1981, allocations: 0 / 0.8343 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001227/0.1993, allocations: 419.3 kB / 0.8347 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1994, allocations: 55.41 kB / 0.8348 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.1995, allocations: 93.94 kB / 0.8348 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1995, allocations: 33.73 kB / 0.8349 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.1995, allocations: 84.14 kB / 0.835 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.1996, allocations: 15.8 kB / 0.835 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.1996, allocations: 29.7 kB / 0.835 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1997, allocations: 310.8 kB / 0.8353 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.1998, allocations: 12 kB / 0.8353 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.1998, allocations: 19.92 kB / 0.8353 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.1999, allocations: 32.84 kB / 0.8354 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1999, allocations: 0 / 0.8354 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000128/0.2, allocations: 81.52 kB / 0.8354 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2, allocations: 15.92 kB / 0.8355 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2, allocations: 0 / 0.8355 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2, allocations: 0 / 0.8355 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.2001, allocations: 12 kB / 0.8355 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2001, allocations: 0 / 0.8355 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.2001, allocations: 0 / 0.8355 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.2001, allocations: 4 kB / 0.8355 GB, free: 5.148 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 9.301e-05/0.2002, allocations: 114.5 kB / 0.8356 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.2002, allocations: 7.922 kB / 0.8356 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.2004, allocations: 85.52 kB / 0.8357 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2004, allocations: 4 kB / 0.8357 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2004, allocations: 0 / 0.8357 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2004, allocations: 0 / 0.8357 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2006, allocations: 132.7 kB / 0.8358 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2006, allocations: 0 / 0.8358 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.2006, allocations: 23.92 kB / 0.8358 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2006, allocations: 0 / 0.8358 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2007, allocations: 4 kB / 0.8358 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2007, allocations: 0 / 0.8358 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2007, allocations: 0 / 0.8358 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.2008, allocations: 113.4 kB / 0.8359 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.2009, allocations: 20.02 kB / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.2009, allocations: 0 / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.2009, allocations: 0 / 0.836 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.2009, allocations: 4 kB / 0.836 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.2009, allocations: 7.984 kB / 0.836 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.201, allocations: 79.28 kB / 0.836 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.201, allocations: 0 / 0.836 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002076/0.2012, allocations: 27.94 kB / 0.8361 GB, free: 4.457 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.000565/0.2017, allocations: 0.6867 MB / 0.8367 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.2019, allocations: 43.91 kB / 0.8368 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2019, allocations: 0 / 0.8368 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.2019, allocations: 27.92 kB / 0.8368 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.2021, allocations: 4 kB / 0.8368 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2032, allocations: 1.184 MB / 0.838 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.39e-05/0.2032, allocations: 63.34 kB / 0.838 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.2033, allocations: 8.062 kB / 0.838 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.2033, allocations: 19.42 kB / 0.8381 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2033, allocations: 0 / 0.8381 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.2355, allocations: 2.329 MB / 0.8403 GB, free: 140 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.25, allocations: 7.562 kB / 0.8403 GB, free: 140 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.507995233871043] Failed to read output from testmodel.py, exit status != 0: 11.34781135385856 11.367785817 11.16781338 Calling exit ...