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.001294/0.001294, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001454/0.001454, allocations: 220.7 kB / 23.03 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.00377/0.00377, allocations: 279.1 kB / 313.5 MB, free: 2.613 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.268/1.268, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="cs",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.002805/0.002805, allocations: 100.8 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1965, allocations: 95.38 MB / 0.8334 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001758/0.1983, allocations: 0.6201 MB / 0.834 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003905/0.1987, allocations: 143.9 kB / 0.8342 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.1987, allocations: 3.938 kB / 0.8342 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.1987, allocations: 4 kB / 0.8342 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.978e-05/0.1987, allocations: 0 / 0.8342 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.199, allocations: 35.91 kB / 0.8342 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.248e-05/0.1991, allocations: 23.91 kB / 0.8342 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.1991, allocations: 0 / 0.8342 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.1992, allocations: 8 kB / 0.8343 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.1992, allocations: 11.92 kB / 0.8343 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1992, allocations: 0 / 0.8343 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.1993, allocations: 31.97 kB / 0.8343 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.1993, allocations: 3.984 kB / 0.8343 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.1994, allocations: 12 kB / 0.8343 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1995, allocations: 36.09 kB / 0.8343 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1995, allocations: 0 / 0.8343 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1995, allocations: 0 / 0.8343 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.1995, allocations: 0 / 0.8343 GB, free: 7.367 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.0003677/0.1999, allocations: 258.3 kB / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1999, allocations: 13.34 kB / 0.8346 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.19e-05/0.1999, allocations: 192 / 0.8346 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.1999, allocations: 34.75 kB / 0.8346 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.2, allocations: 4.938 kB / 0.8346 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2001, allocations: 102.5 kB / 0.8347 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2001, allocations: 4.375 kB / 0.8347 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.2001, allocations: 8.359 kB / 0.8348 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2002, allocations: 75.64 kB / 0.8348 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.2002, allocations: 0 / 0.8348 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2003, allocations: 4 kB / 0.8348 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2003, allocations: 0 / 0.8348 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.2003, allocations: 15.92 kB / 0.8348 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.2005, allocations: 132.8 kB / 0.835 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.2006, allocations: 42.56 kB / 0.835 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.2006, allocations: 24.91 kB / 0.835 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.919e-05/0.2007, allocations: 8 kB / 0.835 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.2007, allocations: 38.5 kB / 0.8351 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2007, allocations: 0 / 0.8351 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.001231/0.202, allocations: 403 kB / 0.8355 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.202, allocations: 55.41 kB / 0.8355 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.2021, allocations: 93.84 kB / 0.8356 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2021, allocations: 25.7 kB / 0.8356 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.2021, allocations: 92.08 kB / 0.8357 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2022, allocations: 19.78 kB / 0.8357 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.2022, allocations: 33.83 kB / 0.8358 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2023, allocations: 310.8 kB / 0.8361 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.2024, allocations: 15.98 kB / 0.8361 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.2024, allocations: 15.94 kB / 0.8361 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.945e-05/0.2025, allocations: 28.86 kB / 0.8361 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2025, allocations: 0 / 0.8361 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.2026, allocations: 81.56 kB / 0.8362 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2026, allocations: 4 kB / 0.8362 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2026, allocations: 320 / 0.8362 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2026, allocations: 0 / 0.8362 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.2027, allocations: 12.44 kB / 0.8362 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2027, allocations: 7.938 kB / 0.8362 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.2027, allocations: 0 / 0.8362 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2027, allocations: 11.98 kB / 0.8362 GB, free: 5.18 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 8.112e-05/0.2028, allocations: 114.5 kB / 0.8363 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.2028, allocations: 7.938 kB / 0.8364 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.203, allocations: 85.56 kB / 0.8364 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.203, allocations: 0 / 0.8364 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.203, allocations: 0 / 0.8364 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.203, allocations: 3.984 kB / 0.8364 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2031, allocations: 128.8 kB / 0.8366 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2031, allocations: 11.88 kB / 0.8366 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.547e-05/0.2032, allocations: 19.94 kB / 0.8366 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2032, allocations: 0 / 0.8366 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.2032, allocations: 0 / 0.8366 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2032, allocations: 4 kB / 0.8366 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2032, allocations: 3.984 kB / 0.8366 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.2035, allocations: 113 kB / 0.8367 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.2035, allocations: 7.969 kB / 0.8367 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.2035, allocations: 4 kB / 0.8367 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.2035, allocations: 0 / 0.8367 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.2036, allocations: 15.98 kB / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2036, allocations: 4 kB / 0.8367 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.2036, allocations: 75.28 kB / 0.8368 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2036, allocations: 0 / 0.8368 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002169/0.2038, allocations: 31.94 kB / 0.8368 GB, free: 4.48 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.0005713/0.2044, allocations: 0.6787 MB / 0.8375 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.2045, allocations: 39.92 kB / 0.8375 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2045, allocations: 0 / 0.8375 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.2045, allocations: 24.14 kB / 0.8376 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.2047, allocations: 8.594 kB / 0.8376 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2058, allocations: 1.192 MB / 0.8387 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.2059, allocations: 63.34 kB / 0.8388 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.2059, allocations: 12 kB / 0.8388 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.2059, allocations: 15.42 kB / 0.8388 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2059, allocations: 64 / 0.8388 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.2368, allocations: 1.994 MB / 0.8408 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 13.25 kB / 0.8408 GB, free: 0.5117 MB / 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.627225339994766] Failed to read output from testmodel.py, exit status != 0: 11.377343157073483 11.404787111 11.200553284 Calling exit ...