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.001638/0.001638, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002017/0.002017, allocations: 220.3 kB / 23.03 MB, free: 4.945 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.445/1.445, allocations: 230.6 MB / 256.8 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.002504/0.002504, allocations: 286.9 kB / 313.5 MB, free: 2.621 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.208/1.208, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.002911/0.002911, allocations: 99.11 kB / 0.7403 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1985, allocations: 95.38 MB / 0.8334 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002994/0.2015, allocations: 1.484 MB / 0.8349 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004636/0.2019, allocations: 132.4 kB / 0.835 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.202, allocations: 8 kB / 0.835 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/0.202, allocations: 3.938 kB / 0.835 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.2021, allocations: 3.938 kB / 0.835 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2023, allocations: 27.91 kB / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2025, allocations: 47.83 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2026, allocations: 16.28 kB / 0.8351 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.2026, allocations: 19.92 kB / 0.8351 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.2027, allocations: 15.92 kB / 0.8351 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2027, allocations: 4 kB / 0.8351 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-05/0.2028, allocations: 35.97 kB / 0.8352 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.2028, allocations: 11.94 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.2028, allocations: 23.91 kB / 0.8352 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.203, allocations: 55.81 kB / 0.8352 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.203, allocations: 0 / 0.8352 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.203, allocations: 0 / 0.8352 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.203, allocations: 0 / 0.8352 GB, free: 6.406 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.0004962/0.2035, allocations: 298 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2035, allocations: 9.344 kB / 0.8355 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.2036, allocations: 4.188 kB / 0.8355 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.2036, allocations: 42.75 kB / 0.8356 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.2047, allocations: 208.5 kB / 0.8358 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2048, allocations: 118.5 kB / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.2048, allocations: 384 / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.2049, allocations: 8.359 kB / 0.8359 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/0.2054, allocations: 209.7 kB / 0.8361 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2054, allocations: 0 / 0.8361 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2055, allocations: 0 / 0.8361 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2055, allocations: 0 / 0.8361 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.2063, allocations: 283.6 kB / 0.8364 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.2072, allocations: 392.2 kB / 0.8367 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.2083, allocations: 290.2 kB / 0.837 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.2086, allocations: 96.8 kB / 0.8371 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2086, allocations: 3.984 kB / 0.8371 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.2087, allocations: 30.56 kB / 0.8372 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.2087, allocations: 4 kB / 0.8372 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001126/0.2098, allocations: 309.3 kB / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2099, allocations: 59.41 kB / 0.8375 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.21, allocations: 113.8 kB / 0.8376 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.21, allocations: 25.7 kB / 0.8376 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.2101, allocations: 92.12 kB / 0.8377 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.2101, allocations: 11.91 kB / 0.8377 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.2101, allocations: 13.72 kB / 0.8378 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2103, allocations: 322.8 kB / 0.8381 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.2106, allocations: 95.88 kB / 0.8382 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.211, allocations: 95.88 kB / 0.8382 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.2116, allocations: 172.6 kB / 0.8384 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2116, allocations: 7.938 kB / 0.8384 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006898/0.2123, allocations: 209.5 kB / 0.8386 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2123, allocations: 4 kB / 0.8386 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2123, allocations: 3.984 kB / 0.8386 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2123, allocations: 4 kB / 0.8386 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.2125, allocations: 31.95 kB / 0.8387 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2125, allocations: 0 / 0.8387 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.2127, allocations: 39.84 kB / 0.8387 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2127, allocations: 7.922 kB / 0.8387 GB, free: 2.664 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.0001012/0.2128, allocations: 110.5 kB / 0.8388 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2129, allocations: 4.375 kB / 0.8388 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.2129, allocations: 16 kB / 0.8388 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.213, allocations: 3.984 kB / 0.8388 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.213, allocations: 0 / 0.8388 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.213, allocations: 4.266 kB / 0.8388 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.2132, allocations: 168.7 kB / 0.839 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2132, allocations: 3.938 kB / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.2134, allocations: 35.94 kB / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2134, allocations: 0 / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2134, allocations: 7.984 kB / 0.839 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2134, allocations: 4 kB / 0.839 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2135, allocations: 0 / 0.839 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.2142, allocations: 316.9 kB / 0.8393 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.2142, allocations: 11.95 kB / 0.8394 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.2143, allocations: 0 / 0.8394 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.2145, allocations: 35.94 kB / 0.8394 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2145, allocations: 0 / 0.8394 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.2145, allocations: 0 / 0.8394 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.703e-05/0.2146, allocations: 103.2 kB / 0.8395 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2146, allocations: 3.938 kB / 0.8395 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002431/0.2148, allocations: 12 kB / 0.8395 GB, free: 1.766 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.00111/0.216, allocations: 0.8334 MB / 0.8403 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007265/0.2167, allocations: 191.8 kB / 0.8405 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2167, allocations: 4 kB / 0.8405 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.2171, allocations: 107.7 kB / 0.8406 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2173, allocations: 5.375 kB / 0.8406 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.2209, allocations: 1.838 MB / 0.8424 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.215e-05/0.2209, allocations: 71.34 kB / 0.8425 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.221, allocations: 23.98 kB / 0.8425 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.2211, allocations: 15.42 kB / 0.8425 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.2211, allocations: 0 / 0.8425 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.244, allocations: 2.191 MB / 0.8447 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.46, allocations: 16.53 kB / 0.8447 GB, free: 12.51 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.739814641070552] Failed to read output from testmodel.py, exit status != 0: 11.622438929975033 11.653190546 11.444767185 Calling exit ...