Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.001666/0.001666, 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.001444/0.001444, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.781 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.002537/0.002537, allocations: 292 kB / 312.7 MB, free: 2.609 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.47 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.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",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.004725/0.004725, allocations: 102.5 kB / 0.7395 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1948, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002955/0.1977, allocations: 1.481 MB / 0.8341 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005409/0.1983, allocations: 128.5 kB / 0.8342 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.1983, allocations: 3.938 kB / 0.8342 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.293e-05/0.1984, allocations: 4 kB / 0.8342 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.802e-05/0.1985, allocations: 7.938 kB / 0.8342 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.1988, allocations: 27.91 kB / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1989, allocations: 43.84 kB / 0.8343 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1991, allocations: 16.27 kB / 0.8343 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.1991, allocations: 11.98 kB / 0.8343 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.1992, allocations: 27.86 kB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.1992, allocations: 4 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1993, allocations: 27.97 kB / 0.8344 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1993, allocations: 12 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.1994, allocations: 23.86 kB / 0.8344 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1995, allocations: 67.72 kB / 0.8345 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1995, allocations: 0 / 0.8345 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1995, allocations: 3.938 kB / 0.8345 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1995, allocations: 0 / 0.8345 GB, free: 6.398 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005298/0.2001, allocations: 294.1 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2001, allocations: 9.344 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.2002, allocations: 34.75 kB / 0.8348 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.2012, allocations: 216.5 kB / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2014, allocations: 110.5 kB / 0.8351 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2014, allocations: 384 / 0.8351 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.2014, allocations: 8.359 kB / 0.8351 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007366/0.2021, allocations: 194 kB / 0.8353 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2021, allocations: 3.938 kB / 0.8353 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.2022, allocations: 7.875 kB / 0.8353 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2022, allocations: 0 / 0.8353 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.2034, allocations: 287.6 kB / 0.8356 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.2048, allocations: 396.2 kB / 0.836 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.2064, allocations: 286.2 kB / 0.8363 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.207, allocations: 100.8 kB / 0.8364 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.207, allocations: 0 / 0.8364 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.207, allocations: 38.56 kB / 0.8364 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.207, allocations: 0 / 0.8364 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.00173/0.2088, allocations: 301.3 kB / 0.8367 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.2088, allocations: 55.41 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.209, allocations: 117.8 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.209, allocations: 33.7 kB / 0.8369 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.2091, allocations: 92.12 kB / 0.837 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.2091, allocations: 7.906 kB / 0.837 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.2092, allocations: 17.7 kB / 0.837 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.2094, allocations: 322.8 kB / 0.8373 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.2099, allocations: 91.88 kB / 0.8374 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.2104, allocations: 99.88 kB / 0.8375 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.2114, allocations: 172.6 kB / 0.8376 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2114, allocations: 4 kB / 0.8376 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001117/0.2125, allocations: 209.8 kB / 0.8378 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.2125, allocations: 10.19 kB / 0.8379 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2125, allocations: 3.938 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.2126, allocations: 0 / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.2129, allocations: 35.89 kB / 0.8379 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2129, allocations: 4 kB / 0.8379 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.2132, allocations: 39.83 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.2132, allocations: 4 kB / 0.8379 GB, free: 2.668 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 (3): * Single equations (assignments): 3 * 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.0001442/0.2134, allocations: 117.7 kB / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.2134, allocations: 0 / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.2135, allocations: 19.92 kB / 0.8381 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2135, allocations: 0 / 0.8381 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2135, allocations: 4 kB / 0.8381 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2135, allocations: 336 / 0.8381 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.2139, allocations: 164.7 kB / 0.8382 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2139, allocations: 0 / 0.8382 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.2143, allocations: 35.94 kB / 0.8383 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2143, allocations: 0 / 0.8383 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.2143, allocations: 0 / 0.8383 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2143, allocations: 4 kB / 0.8383 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2143, allocations: 3.984 kB / 0.8383 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.2155, allocations: 324.8 kB / 0.8386 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.2155, allocations: 3.953 kB / 0.8386 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.2155, allocations: 7.984 kB / 0.8386 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.2158, allocations: 27.95 kB / 0.8386 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.2159, allocations: 8 kB / 0.8386 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2159, allocations: 0 / 0.8386 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.562e-05/0.216, allocations: 95.27 kB / 0.8387 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.216, allocations: 4 kB / 0.8387 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004322/0.2164, allocations: 15.94 kB / 0.8387 GB, free: 1.777 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 (3): * Single equations (assignments): 3 * 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.001651/0.2181, allocations: 0.8333 MB / 0.8396 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.2192, allocations: 195.7 kB / 0.8397 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2192, allocations: 0 / 0.8397 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.2198, allocations: 103.9 kB / 0.8398 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.2202, allocations: 288 / 0.8398 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.2255, allocations: 1.855 MB / 0.8416 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.2256, allocations: 75.34 kB / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000143/0.2258, allocations: 19.98 kB / 0.8417 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2259, allocations: 15.42 kB / 0.8418 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.2259, allocations: 0 / 0.8418 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.2623, allocations: 2.551 MB / 0.8442 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.37, allocations: 14.44 kB / 0.8443 GB, free: 12.14 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.766696986742318] Failed to read output from testmodel.py, exit status != 0: 11.473050622269511 11.498487514 11.294295354 Calling exit ...