Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.001786/0.001786, 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.002386/0.002386, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.592/1.592, allocations: 230.6 MB / 256 MB, free: 7.805 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.002732/0.002732, allocations: 296.3 kB / 312.7 MB, free: 2.625 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.259/1.259, 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.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",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.003038/0.003038, allocations: 105.8 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1949, allocations: 95.38 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.003147/0.1981, allocations: 1.489 MB / 0.8341 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1994, allocations: 0.5752 MB / 0.8347 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.1995, allocations: 0 / 0.8347 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.1995, allocations: 3.938 kB / 0.8347 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.769e-05/0.1996, allocations: 7.938 kB / 0.8347 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.1999, allocations: 59.81 kB / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2001, allocations: 27.92 kB / 0.8348 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2002, allocations: 11.92 kB / 0.8348 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2003, allocations: 23.86 kB / 0.8348 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.2004, allocations: 15.92 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.2004, allocations: 0 / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2006, allocations: 59.95 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2006, allocations: 0 / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.2006, allocations: 15.92 kB / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.2008, allocations: 71.95 kB / 0.835 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.2008, allocations: 7.984 kB / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2008, allocations: 0 / 0.835 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2008, allocations: 0 / 0.835 GB, free: 5.941 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.0004307/0.2012, allocations: 276.4 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2013, allocations: 9.344 kB / 0.8352 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.2013, allocations: 38.75 kB / 0.8353 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.2015, allocations: 16.88 kB / 0.8353 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.2017, allocations: 122.4 kB / 0.8354 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-06/0.2017, allocations: 384 / 0.8354 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2017, allocations: 384 / 0.8354 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.2019, allocations: 49.81 kB / 0.8354 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2019, allocations: 3.984 kB / 0.8355 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2019, allocations: 4 kB / 0.8355 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2019, allocations: 0 / 0.8355 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.172e-05/0.202, allocations: 23.97 kB / 0.8355 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.2023, allocations: 220 kB / 0.8357 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.2024, allocations: 34.56 kB / 0.8357 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.2025, allocations: 12.91 kB / 0.8357 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000632/0.2031, allocations: 95.88 kB / 0.8358 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2031, allocations: 30.56 kB / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2031, allocations: 0 / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002575/0.2034, allocations: 69.61 kB / 0.8359 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2034, allocations: 55.53 kB / 0.836 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2035, allocations: 113.8 kB / 0.8361 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2036, allocations: 25.7 kB / 0.8361 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.2036, allocations: 88.12 kB / 0.8362 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2036, allocations: 7.891 kB / 0.8362 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.2037, allocations: 17.72 kB / 0.8362 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2038, allocations: 318.8 kB / 0.8365 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.2039, allocations: 11.98 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.2039, allocations: 4 kB / 0.8365 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.204, allocations: 32.91 kB / 0.8366 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.204, allocations: 0 / 0.8366 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001396/0.2041, allocations: 61.56 kB / 0.8366 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2041, allocations: 4 kB / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2041, allocations: 0 / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2042, allocations: 0 / 0.8366 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.2042, allocations: 12 kB / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2042, allocations: 0 / 0.8366 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.2043, allocations: 4 kB / 0.8366 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2043, allocations: 8.016 kB / 0.8367 GB, free: 4.016 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 0.0001043/0.2044, allocations: 114.4 kB / 0.8368 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.2044, allocations: 0 / 0.8368 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.2046, allocations: 69.23 kB / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2046, allocations: 0 / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2046, allocations: 0 / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2046, allocations: 0 / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2048, allocations: 136.6 kB / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2048, allocations: 0 / 0.837 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.2048, allocations: 8.031 kB / 0.837 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2048, allocations: 0 / 0.837 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2048, allocations: 3.984 kB / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2048, allocations: 0 / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2048, allocations: 0 / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.205, allocations: 151.5 kB / 0.8371 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.205, allocations: 4 kB / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.205, allocations: 0 / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.2051, allocations: 3.984 kB / 0.8371 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.2051, allocations: 7.969 kB / 0.8371 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2052, allocations: 4 kB / 0.8371 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.243e-05/0.2052, allocations: 95.58 kB / 0.8372 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2052, allocations: 0 / 0.8372 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002518/0.2055, allocations: 23.83 kB / 0.8372 GB, free: 3.328 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.0005592/0.206, allocations: 0.6928 MB / 0.8379 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.2062, allocations: 31.91 kB / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2062, allocations: 8.094 kB / 0.838 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.2062, allocations: 8 kB / 0.838 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.2064, allocations: 0 / 0.838 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2079, allocations: 1.25 MB / 0.8392 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.208, allocations: 63.34 kB / 0.8392 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.208, allocations: 8.094 kB / 0.8393 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.208, allocations: 15.42 kB / 0.8393 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.208, allocations: 0 / 0.8393 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.2405, allocations: 2.169 MB / 0.8414 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.45, allocations: 17.12 kB / 0.8414 GB, free: 15.07 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.850326545070857] Failed to read output from testmodel.py, exit status != 0: 11.553242389578372 11.570130952 11.36604361 Calling exit ...