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.001212/0.001212, allocations: 100.8 kB / 16.45 MB, free: 6.504 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.001425/0.001425, allocations: 216.9 kB / 19.43 MB, free: 3.656 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003522/0.003522, allocations: 282 kB / 309.1 MB, free: 3.977 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.267/1.267, allocations: 180.9 MB / 0.5333 GB, free: 13.7 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002894/0.002894, allocations: 107.2 kB / 0.7343 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.205, allocations: 95.33 MB / 0.8273 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.003046/0.208, allocations: 1.496 MB / 0.8288 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.2085, allocations: 148.4 kB / 0.829 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.2085, allocations: 0 / 0.829 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.2085, allocations: 3.938 kB / 0.829 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.2086, allocations: 7.938 kB / 0.829 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.2088, allocations: 27.91 kB / 0.829 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2089, allocations: 43.84 kB / 0.829 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2091, allocations: 20.27 kB / 0.829 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/0.2091, allocations: 19.92 kB / 0.8291 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.2092, allocations: 19.92 kB / 0.8291 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2092, allocations: 4 kB / 0.8291 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.2093, allocations: 35.97 kB / 0.8291 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.2093, allocations: 4 kB / 0.8291 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.2093, allocations: 19.86 kB / 0.8291 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.2095, allocations: 63.73 kB / 0.8292 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2095, allocations: 0 / 0.8292 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2095, allocations: 4 kB / 0.8292 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.2095, allocations: 4 kB / 0.8292 GB, free: 7.922 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.0005655/0.2101, allocations: 364.5 kB / 0.8296 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2101, allocations: 8.031 kB / 0.8296 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.2101, allocations: 34.69 kB / 0.8296 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.2113, allocations: 220.5 kB / 0.8298 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2114, allocations: 164.4 kB / 0.83 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2115, allocations: 4.375 kB / 0.83 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2115, allocations: 4.375 kB / 0.83 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.2121, allocations: 190 kB / 0.8302 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2121, allocations: 7.938 kB / 0.8302 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2121, allocations: 8 kB / 0.8302 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2121, allocations: 0 / 0.8302 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2131, allocations: 283.5 kB / 0.8304 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.2141, allocations: 445.1 kB / 0.8309 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2153, allocations: 286.1 kB / 0.8311 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.2157, allocations: 100.8 kB / 0.8312 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.2157, allocations: 4 kB / 0.8312 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2158, allocations: 38.5 kB / 0.8313 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.2158, allocations: 0 / 0.8313 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001254/0.217, allocations: 305.3 kB / 0.8316 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2171, allocations: 51.41 kB / 0.8316 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2172, allocations: 121.8 kB / 0.8317 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2172, allocations: 25.7 kB / 0.8318 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.2172, allocations: 88.14 kB / 0.8318 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.2173, allocations: 11.91 kB / 0.8319 GB, free: 5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.2173, allocations: 21.64 kB / 0.8319 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2175, allocations: 322.8 kB / 0.8322 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.2179, allocations: 99.81 kB / 0.8323 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.2182, allocations: 91.86 kB / 0.8324 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.2189, allocations: 176.9 kB / 0.8325 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2189, allocations: 0 / 0.8325 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008054/0.2197, allocations: 217.5 kB / 0.8327 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2198, allocations: 5.875 kB / 0.8328 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.2198, allocations: 0 / 0.8328 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.2198, allocations: 4 kB / 0.8328 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.2201, allocations: 31.94 kB / 0.8328 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2201, allocations: 0 / 0.8328 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2203, allocations: 35.84 kB / 0.8328 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2203, allocations: 7.938 kB / 0.8328 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 (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.0001098/0.2204, allocations: 122.4 kB / 0.8329 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.2204, allocations: 4 kB / 0.8329 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.2205, allocations: 11.91 kB / 0.833 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2205, allocations: 0 / 0.833 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2205, allocations: 0 / 0.833 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2205, allocations: 0 / 0.833 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.2208, allocations: 213.6 kB / 0.8332 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2208, allocations: 4.375 kB / 0.8332 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.221, allocations: 35.94 kB / 0.8332 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.221, allocations: 0 / 0.8332 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.221, allocations: 0 / 0.8332 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.221, allocations: 3.938 kB / 0.8332 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.221, allocations: 0 / 0.8332 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.2219, allocations: 316.9 kB / 0.8335 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.2221, allocations: 92.98 kB / 0.8336 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2221, allocations: 0 / 0.8336 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.2223, allocations: 27.95 kB / 0.8336 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.2224, allocations: 12 kB / 0.8336 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2224, allocations: 0 / 0.8336 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.2224, allocations: 95.27 kB / 0.8337 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2224, allocations: 3.938 kB / 0.8337 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002414/0.2227, allocations: 15.94 kB / 0.8337 GB, free: 2.949 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.001191/0.2239, allocations: 0.8334 MB / 0.8346 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008163/0.2247, allocations: 199.7 kB / 0.8347 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.2247, allocations: 4 kB / 0.8348 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.2251, allocations: 95.88 kB / 0.8348 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.2253, allocations: 11.94 kB / 0.8349 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.2292, allocations: 1.838 MB / 0.8366 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.2295, allocations: 0.6807 MB / 0.8373 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.2296, allocations: 24.31 kB / 0.8373 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.2297, allocations: 15.42 kB / 0.8374 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.2297, allocations: 0 / 0.8374 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2545, allocations: 1.982 MB / 0.8393 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.27, allocations: 17.66 kB / 0.8393 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.643874849192798] Failed to read output from testmodel.py, exit status != 0: 8.33995193708688 8.355893623 8.143448671 Calling exit ...