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.001816/0.001816, 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.00231/0.00231, allocations: 214.5 kB / 22.25 MB, free: 5.258 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.746 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.002503/0.002503, allocations: 290.4 kB / 312.7 MB, free: 2.566 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.5369 GB, free: 14.59 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.002997/0.002997, allocations: 103.8 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2116, allocations: 95.38 MB / 0.8327 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002999/0.2146, allocations: 1.477 MB / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2158, allocations: 0.5752 MB / 0.8347 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.2158, allocations: 0 / 0.8347 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.2159, allocations: 7.938 kB / 0.8347 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.2159, allocations: 11.86 kB / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.2163, allocations: 55.81 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2164, allocations: 35.8 kB / 0.8348 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2165, allocations: 8 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.2166, allocations: 15.98 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.2167, allocations: 19.91 kB / 0.8348 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2167, allocations: 4 kB / 0.8348 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.2168, allocations: 55.95 kB / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.2168, allocations: 3.938 kB / 0.8349 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.2169, allocations: 11.94 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2171, allocations: 68.02 kB / 0.8349 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2171, allocations: 0 / 0.8349 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2171, allocations: 0 / 0.8349 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2171, allocations: 0 / 0.8349 GB, free: 5.918 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.0004853/0.2175, allocations: 282.1 kB / 0.8352 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.2176, allocations: 13.34 kB / 0.8352 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.2176, allocations: 34.69 kB / 0.8353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.2178, allocations: 24.86 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.218, allocations: 118.5 kB / 0.8354 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.218, allocations: 384 / 0.8354 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.218, allocations: 4.375 kB / 0.8354 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.2182, allocations: 45.62 kB / 0.8354 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2182, allocations: 0 / 0.8354 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2182, allocations: 7.938 kB / 0.8355 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2182, allocations: 0 / 0.8355 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.2183, allocations: 19.98 kB / 0.8355 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.2186, allocations: 231.9 kB / 0.8357 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.2187, allocations: 30.56 kB / 0.8357 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.2188, allocations: 8.922 kB / 0.8357 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/0.2194, allocations: 99.86 kB / 0.8358 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2194, allocations: 30.56 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2194, allocations: 0 / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002468/0.2197, allocations: 69.61 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.2197, allocations: 51.41 kB / 0.836 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2198, allocations: 113.8 kB / 0.8361 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2198, allocations: 29.83 kB / 0.8361 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.2199, allocations: 84.14 kB / 0.8362 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.2199, allocations: 7.953 kB / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.22, allocations: 17.7 kB / 0.8362 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2201, allocations: 318.8 kB / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.2201, allocations: 11.98 kB / 0.8365 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.2202, allocations: 8 kB / 0.8365 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.2203, allocations: 24.84 kB / 0.8366 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2203, allocations: 4 kB / 0.8366 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001258/0.2204, allocations: 57.64 kB / 0.8366 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2204, allocations: 10.03 kB / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.2204, allocations: 0 / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2204, allocations: 0 / 0.8366 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.2205, allocations: 7.984 kB / 0.8366 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2205, allocations: 3.984 kB / 0.8366 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.2205, allocations: 0 / 0.8366 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2205, allocations: 8 kB / 0.8366 GB, free: 3.984 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.806e-05/0.2206, allocations: 118.5 kB / 0.8368 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.2206, allocations: 7.984 kB / 0.8368 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.2208, allocations: 61.25 kB / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2208, allocations: 3.984 kB / 0.8368 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2208, allocations: 0 / 0.8368 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2208, allocations: 0 / 0.8368 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.221, allocations: 136.6 kB / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.221, allocations: 0 / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.221, allocations: 4 kB / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.221, allocations: 0 / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.221, allocations: 8.031 kB / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2211, allocations: 0 / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2211, allocations: 0 / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2212, allocations: 159.4 kB / 0.8371 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.2212, allocations: 4 kB / 0.8371 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2213, allocations: 0 / 0.8371 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.2213, allocations: 4 kB / 0.8371 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.2214, allocations: 3.984 kB / 0.8371 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2214, allocations: 384 / 0.8371 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.2214, allocations: 95.25 kB / 0.8372 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2214, allocations: 0 / 0.8372 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002357/0.2217, allocations: 19.92 kB / 0.8372 GB, free: 3.293 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.0005683/0.2222, allocations: 0.7006 MB / 0.8379 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2224, allocations: 27.92 kB / 0.838 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2224, allocations: 0 / 0.838 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.2224, allocations: 15.98 kB / 0.838 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.2226, allocations: 9.125 kB / 0.838 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.224, allocations: 1.258 MB / 0.8392 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.398e-05/0.2241, allocations: 63.34 kB / 0.8393 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.2241, allocations: 0 / 0.8393 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.2241, allocations: 15.42 kB / 0.8393 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.2241, allocations: 7.969 kB / 0.8393 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.2588, allocations: 2.147 MB / 0.8414 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.38, allocations: 17.53 kB / 0.8414 GB, free: 15.04 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.833110244013369] Failed to read output from testmodel.py, exit status != 0: 11.48956002201885 11.512443584 11.291702803 Calling exit ...