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.001454/0.001454, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001726/0.001726, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.492/1.492, 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.002553/0.002553, allocations: 290.2 kB / 313.5 MB, free: 2.594 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.232/1.232, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.002826/0.002826, allocations: 107.8 kB / 0.7403 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1925, allocations: 95.36 MB / 0.8334 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002628/0.1951, allocations: 1.47 MB / 0.8348 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004104/0.1955, allocations: 188.2 kB / 0.835 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.1955, allocations: 0 / 0.835 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.1956, allocations: 7.938 kB / 0.835 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.1956, allocations: 3.938 kB / 0.835 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1958, allocations: 31.91 kB / 0.8351 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.1959, allocations: 31.92 kB / 0.8351 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.196, allocations: 0 / 0.8351 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.196, allocations: 19.91 kB / 0.8351 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.359e-05/0.1961, allocations: 8 kB / 0.8351 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1961, allocations: 4 kB / 0.8351 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.1962, allocations: 35.95 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.1962, allocations: 3.938 kB / 0.8352 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.1962, allocations: 8 kB / 0.8352 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1963, allocations: 44.09 kB / 0.8352 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1963, allocations: 0 / 0.8352 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1963, allocations: 0 / 0.8352 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.1963, allocations: 4 kB / 0.8352 GB, free: 6.426 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.0004182/0.1968, allocations: 266.3 kB / 0.8355 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1968, allocations: 9.344 kB / 0.8355 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.457e-05/0.1968, allocations: 4.172 kB / 0.8355 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.1968, allocations: 30.75 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.1969, allocations: 8.891 kB / 0.8355 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.197, allocations: 114.5 kB / 0.8356 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.197, allocations: 4.375 kB / 0.8356 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.197, allocations: 384 / 0.8356 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1971, allocations: 57.92 kB / 0.8357 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1972, allocations: 7.922 kB / 0.8357 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1972, allocations: 0 / 0.8357 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1972, allocations: 0 / 0.8357 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1973, allocations: 35.95 kB / 0.8357 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.1976, allocations: 216 kB / 0.8359 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1978, allocations: 38.55 kB / 0.836 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.1979, allocations: 28.84 kB / 0.836 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.1979, allocations: 4 kB / 0.836 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1979, allocations: 30.56 kB / 0.836 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1979, allocations: 0 / 0.836 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.1983, allocations: 89.59 kB / 0.8361 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1983, allocations: 51.41 kB / 0.8362 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.1984, allocations: 105.8 kB / 0.8363 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1984, allocations: 25.7 kB / 0.8363 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.1985, allocations: 85.75 kB / 0.8364 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.1985, allocations: 3.953 kB / 0.8364 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1985, allocations: 17.72 kB / 0.8364 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1987, allocations: 314.8 kB / 0.8367 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.1987, allocations: 24.17 kB / 0.8367 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.1988, allocations: 16.11 kB / 0.8367 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.199, allocations: 48.75 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.199, allocations: 0 / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.1992, allocations: 65.67 kB / 0.8368 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1992, allocations: 4 kB / 0.8368 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1992, allocations: 4.094 kB / 0.8368 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1992, allocations: 0 / 0.8368 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.1993, allocations: 11.98 kB / 0.8369 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1993, allocations: 0 / 0.8369 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.1993, allocations: 7.984 kB / 0.8369 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.1993, allocations: 3.938 kB / 0.8369 GB, free: 4.531 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 8.077e-05/0.1994, allocations: 114.4 kB / 0.837 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1994, allocations: 3.953 kB / 0.837 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1997, allocations: 76.97 kB / 0.8371 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1997, allocations: 0 / 0.8371 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1997, allocations: 0 / 0.8371 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1997, allocations: 7.922 kB / 0.8371 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1998, allocations: 124.7 kB / 0.8372 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1998, allocations: 0 / 0.8372 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.1999, allocations: 11.98 kB / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1999, allocations: 0 / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1999, allocations: 0 / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1999, allocations: 0 / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1999, allocations: 4.031 kB / 0.8372 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2001, allocations: 171.4 kB / 0.8374 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.2002, allocations: 4 kB / 0.8374 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2002, allocations: 3.984 kB / 0.8374 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.2002, allocations: 4 kB / 0.8374 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2003, allocations: 4 kB / 0.8374 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2003, allocations: 3.984 kB / 0.8374 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.2003, allocations: 83.28 kB / 0.8375 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2003, allocations: 4.031 kB / 0.8375 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002245/0.2006, allocations: 11.94 kB / 0.8375 GB, free: 3.832 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.0005933/0.2011, allocations: 0.7084 MB / 0.8382 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.2014, allocations: 35.95 kB / 0.8382 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2014, allocations: 4.031 kB / 0.8382 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.175e-05/0.2014, allocations: 23.98 kB / 0.8382 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2017, allocations: 5.109 kB / 0.8382 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.2022, allocations: 151.9 kB / 0.8384 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.93e-05/0.2022, allocations: 59.34 kB / 0.8384 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.2023, allocations: 4 kB / 0.8384 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.2023, allocations: 7.438 kB / 0.8384 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.2023, allocations: 64 / 0.8384 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.2234, allocations: 1.64 MB / 0.84 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.33, allocations: 7.25 kB / 0.8401 GB, free: 1.266 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.61592894908972] Failed to read output from testmodel.py, exit status != 0: 11.493781307013705 11.518944179 11.318234931 Calling exit ...