Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.00183/0.00183, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002139/0.002139, allocations: 211.7 kB / 22.24 MB, free: 4.855 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 7.996 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.002479/0.002479, allocations: 284.7 kB / 312.7 MB, free: 2.648 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.24/1.24, allocations: 180.6 MB / 0.5369 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.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.002947/0.002947, allocations: 105.8 kB / 0.7395 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1888, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.003268/0.1921, allocations: 1.475 MB / 0.8341 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005656/0.1926, allocations: 168.4 kB / 0.8342 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.1927, allocations: 0 / 0.8342 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.1927, allocations: 3.938 kB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.1928, allocations: 7.922 kB / 0.8343 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1931, allocations: 39.89 kB / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.1932, allocations: 23.88 kB / 0.8343 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1933, allocations: 11.98 kB / 0.8343 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.1934, allocations: 11.98 kB / 0.8343 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.1934, allocations: 15.92 kB / 0.8344 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1934, allocations: 0 / 0.8344 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1935, allocations: 31.97 kB / 0.8344 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.1935, allocations: 0 / 0.8344 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.1936, allocations: 11.94 kB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.1937, allocations: 48.08 kB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1937, allocations: 0 / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1937, allocations: 0 / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.1937, allocations: 0 / 0.8344 GB, free: 6.48 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005347/0.1943, allocations: 266.3 kB / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.1943, allocations: 17.34 kB / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.1944, allocations: 30.75 kB / 0.8347 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1944, allocations: 4.891 kB / 0.8347 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1946, allocations: 110.5 kB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1946, allocations: 4.375 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1946, allocations: 384 / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1948, allocations: 54.17 kB / 0.8349 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1948, allocations: 7.875 kB / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1949, allocations: 0 / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1949, allocations: 0 / 0.8349 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.195, allocations: 39.95 kB / 0.835 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1955, allocations: 216.1 kB / 0.8352 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1956, allocations: 38.5 kB / 0.8352 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.763e-05/0.1957, allocations: 24.84 kB / 0.8352 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.1958, allocations: 7.984 kB / 0.8352 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1958, allocations: 30.56 kB / 0.8353 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1958, allocations: 4 kB / 0.8353 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003976/0.1962, allocations: 85.59 kB / 0.8353 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1963, allocations: 51.41 kB / 0.8354 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1964, allocations: 101.9 kB / 0.8355 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1964, allocations: 25.7 kB / 0.8355 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.1964, allocations: 81.81 kB / 0.8356 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.1965, allocations: 11.94 kB / 0.8356 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1965, allocations: 13.84 kB / 0.8356 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1967, allocations: 318.8 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.193e-05/0.1968, allocations: 19.92 kB / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1968, allocations: 15.97 kB / 0.836 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.197, allocations: 40.77 kB / 0.836 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.197, allocations: 3.938 kB / 0.836 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.1972, allocations: 77.7 kB / 0.8361 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1972, allocations: 4 kB / 0.8361 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1972, allocations: 4 kB / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1972, allocations: 256 / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.136e-05/0.1973, allocations: 7.984 kB / 0.8361 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1973, allocations: 4 kB / 0.8361 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1974, allocations: 7.938 kB / 0.8361 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1974, allocations: 0 / 0.8361 GB, free: 4.59 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 (2): * Single equations (assignments): 2 * 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.741e-05/0.1975, allocations: 118.5 kB / 0.8362 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1975, allocations: 3.953 kB / 0.8362 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.1977, allocations: 76.95 kB / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1977, allocations: 0 / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1977, allocations: 0 / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1977, allocations: 0 / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1979, allocations: 132.7 kB / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1979, allocations: 0 / 0.8364 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.198, allocations: 8.031 kB / 0.8364 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.198, allocations: 3.984 kB / 0.8364 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.198, allocations: 4 kB / 0.8364 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.198, allocations: 3.984 kB / 0.8364 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.198, allocations: 3.938 kB / 0.8364 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1982, allocations: 167.4 kB / 0.8366 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.1983, allocations: 4 kB / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1983, allocations: 4 kB / 0.8366 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.1983, allocations: 4.031 kB / 0.8366 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1984, allocations: 7.984 kB / 0.8366 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1984, allocations: 0 / 0.8366 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.1984, allocations: 83.28 kB / 0.8367 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1984, allocations: 0 / 0.8367 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002251/0.1987, allocations: 11.94 kB / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006714/0.1993, allocations: 0.7084 MB / 0.8374 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1995, allocations: 36 kB / 0.8374 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1995, allocations: 0 / 0.8374 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.1996, allocations: 27.91 kB / 0.8375 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1999, allocations: 4 kB / 0.8375 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.2005, allocations: 143.1 kB / 0.8376 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.535e-05/0.2005, allocations: 63.34 kB / 0.8377 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.2006, allocations: 8.125 kB / 0.8377 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.2006, allocations: 7.438 kB / 0.8377 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.2006, allocations: 0 / 0.8377 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.2303, allocations: 1.99 MB / 0.8396 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.38, allocations: 0 / 0.8396 GB, free: 0.9609 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.901929988060147] Failed to read output from testmodel.py, exit status != 0: 11.478614944964647 11.49623006 11.299189442 Calling exit ...