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.001265/0.001265, allocations: 110.4 kB / 18.94 MB, free: 2.949 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: 219 kB / 22.26 MB, free: 5.125 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.969 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.002432/0.002432, allocations: 277.5 kB / 312.7 MB, free: 2.797 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.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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.004234/0.004234, allocations: 105.3 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2085, allocations: 95.39 MB / 0.8327 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002695/0.2112, allocations: 1.499 MB / 0.8342 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000417/0.2116, allocations: 144.4 kB / 0.8343 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/0.2116, allocations: 0 / 0.8343 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.2117, allocations: 3.938 kB / 0.8343 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.2117, allocations: 7.938 kB / 0.8344 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.2119, allocations: 31.89 kB / 0.8344 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.212, allocations: 39.91 kB / 0.8344 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2122, allocations: 20.2 kB / 0.8344 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.2122, allocations: 16 kB / 0.8345 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.2123, allocations: 23.86 kB / 0.8345 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2123, allocations: 4 kB / 0.8345 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.2124, allocations: 35.95 kB / 0.8345 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.2124, allocations: 7.938 kB / 0.8345 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.2124, allocations: 27.86 kB / 0.8346 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.2125, allocations: 63.78 kB / 0.8346 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2125, allocations: 0 / 0.8346 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2125, allocations: 0 / 0.8346 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.2126, allocations: 3.938 kB / 0.8346 GB, free: 6.664 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.0004663/0.213, allocations: 294.1 kB / 0.8349 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2131, allocations: 9.344 kB / 0.8349 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2131, allocations: 34.75 kB / 0.8349 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.2142, allocations: 212.5 kB / 0.8351 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2143, allocations: 114.5 kB / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2143, allocations: 384 / 0.8353 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.2143, allocations: 8.375 kB / 0.8353 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.2149, allocations: 186 kB / 0.8354 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2149, allocations: 7.938 kB / 0.8354 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2149, allocations: 0 / 0.8354 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2149, allocations: 0 / 0.8354 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.2157, allocations: 283.6 kB / 0.8357 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.2166, allocations: 420.1 kB / 0.8361 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2176, allocations: 282.3 kB / 0.8364 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.218, allocations: 104.7 kB / 0.8365 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.218, allocations: 4 kB / 0.8365 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.218, allocations: 30.56 kB / 0.8365 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.218, allocations: 0 / 0.8365 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001117/0.2191, allocations: 309.3 kB / 0.8368 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.2192, allocations: 51.41 kB / 0.8369 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2193, allocations: 121.8 kB / 0.837 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2193, allocations: 25.7 kB / 0.837 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2194, allocations: 92.12 kB / 0.8371 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.2194, allocations: 7.906 kB / 0.8371 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.2194, allocations: 17.72 kB / 0.8371 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2196, allocations: 322.8 kB / 0.8374 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.2199, allocations: 100.2 kB / 0.8375 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.2203, allocations: 87.88 kB / 0.8376 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.2209, allocations: 184.5 kB / 0.8378 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2209, allocations: 0 / 0.8378 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000703/0.2216, allocations: 217.4 kB / 0.838 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2216, allocations: 4 kB / 0.838 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2216, allocations: 4 kB / 0.838 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2216, allocations: 4 kB / 0.838 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.2219, allocations: 27.95 kB / 0.838 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2219, allocations: 0 / 0.838 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.2221, allocations: 39.83 kB / 0.8381 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2221, allocations: 336 / 0.8381 GB, free: 2.934 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.0001085/0.2222, allocations: 126.4 kB / 0.8382 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.2222, allocations: 0 / 0.8382 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.2223, allocations: 11.98 kB / 0.8382 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2223, allocations: 3.984 kB / 0.8382 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2223, allocations: 0 / 0.8382 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2223, allocations: 0 / 0.8382 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.2225, allocations: 180.6 kB / 0.8384 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2225, allocations: 0 / 0.8384 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.2228, allocations: 43.89 kB / 0.8384 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2228, allocations: 0 / 0.8384 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.2228, allocations: 7.984 kB / 0.8384 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2228, allocations: 0 / 0.8384 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2228, allocations: 0 / 0.8384 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.2236, allocations: 316.9 kB / 0.8387 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.2236, allocations: 7.953 kB / 0.8387 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.2236, allocations: 0 / 0.8387 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2238, allocations: 31.95 kB / 0.8388 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.2239, allocations: 3.984 kB / 0.8388 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.2239, allocations: 4 kB / 0.8388 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.2239, allocations: 99.27 kB / 0.8389 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2239, allocations: 0 / 0.8389 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002317/0.2242, allocations: 15.94 kB / 0.8389 GB, free: 2.023 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.001073/0.2252, allocations: 0.8333 MB / 0.8397 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.226, allocations: 192 kB / 0.8399 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.226, allocations: 7.938 kB / 0.8399 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.2263, allocations: 107.8 kB / 0.84 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2266, allocations: 6.516 kB / 0.84 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.2301, allocations: 1.839 MB / 0.8418 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.2304, allocations: 0.6885 MB / 0.8425 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.499e-05/0.2305, allocations: 23.98 kB / 0.8425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.2306, allocations: 15.42 kB / 0.8425 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.2306, allocations: 0 / 0.8425 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.2595, allocations: 2.107 MB / 0.8446 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.86, allocations: 1.203 kB / 0.8446 GB, free: 12.21 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.164960436999536] Failed to read output from testmodel.py, exit status != 0: 10.96904880099828 10.993209367 10.777397398 Calling exit ...