Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001951/0.001951, allocations: 109 kB / 20.48 MB, free: 1.473 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.002433/0.002433, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.509/1.509, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.02/1.02, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002211/0.002211, allocations: 58.16 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1779, allocations: 89.19 MB / 0.7291 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002872/0.1807, allocations: 1.481 MB / 0.7306 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004628/0.1812, allocations: 143.5 kB / 0.7307 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.1812, allocations: 4 kB / 0.7307 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.235e-05/0.1813, allocations: 4 kB / 0.7307 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.1813, allocations: 3.938 kB / 0.7307 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1816, allocations: 27.91 kB / 0.7307 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1817, allocations: 43.84 kB / 0.7308 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1818, allocations: 19.98 kB / 0.7308 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.1818, allocations: 19.92 kB / 0.7308 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.1819, allocations: 19.92 kB / 0.7308 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1819, allocations: 4 kB / 0.7308 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.182, allocations: 31.92 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.182, allocations: 11.98 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.1821, allocations: 27.86 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1822, allocations: 64.02 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1822, allocations: 0 / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1822, allocations: 0 / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1822, allocations: 3.938 kB / 0.731 GB, free: 15.33 MB / 0.5606 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.0004594/0.1827, allocations: 286.1 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1827, allocations: 12.03 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.247e-05/0.1827, allocations: 192 / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.1828, allocations: 38.73 kB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.1839, allocations: 208.6 kB / 0.7315 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.184, allocations: 118.5 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.184, allocations: 8.359 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.184, allocations: 8.375 kB / 0.7316 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.1847, allocations: 197.7 kB / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1847, allocations: 0 / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1847, allocations: 0 / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1847, allocations: 4 kB / 0.7318 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.1856, allocations: 279.6 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009535/0.1866, allocations: 404.5 kB / 0.7325 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1878, allocations: 286.1 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.1882, allocations: 104.8 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1882, allocations: 0 / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1882, allocations: 30.56 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1882, allocations: 4 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.001243/0.1895, allocations: 313.2 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1895, allocations: 59.33 kB / 0.7332 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1897, allocations: 117.8 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1897, allocations: 25.7 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.1897, allocations: 88.14 kB / 0.7335 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1898, allocations: 16 kB / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.1898, allocations: 17.72 kB / 0.7335 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.19, allocations: 314.8 kB / 0.7338 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.1904, allocations: 99.86 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.1907, allocations: 95.88 kB / 0.734 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.1915, allocations: 168.6 kB / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1915, allocations: 0 / 0.7341 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008393/0.1923, allocations: 225.7 kB / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1923, allocations: 4 kB / 0.7344 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1923, allocations: 0 / 0.7344 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1923, allocations: 0 / 0.7344 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.1926, allocations: 43.88 kB / 0.7344 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1926, allocations: 0 / 0.7344 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1928, allocations: 31.89 kB / 0.7344 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1928, allocations: 3.938 kB / 0.7344 GB, free: 11.59 MB / 0.5606 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.0001234/0.193, allocations: 120 kB / 0.7345 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.193, allocations: 7.953 kB / 0.7346 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.1931, allocations: 8 kB / 0.7346 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1931, allocations: 4 kB / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1931, allocations: 336 / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1931, allocations: 0 / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1934, allocations: 180.6 kB / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1934, allocations: 0 / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.1936, allocations: 35.94 kB / 0.7348 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.1936, allocations: 7.984 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1936, allocations: 0 / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1936, allocations: 3.938 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1936, allocations: 4 kB / 0.7348 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.1945, allocations: 311.2 kB / 0.7351 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.1945, allocations: 11.92 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1945, allocations: 8 kB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.1948, allocations: 23.95 kB / 0.7351 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1948, allocations: 4 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1948, allocations: 7.984 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.1949, allocations: 95.2 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1949, allocations: 0 / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002458/0.1952, allocations: 16 kB / 0.7352 GB, free: 10.69 MB / 0.5606 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.001262/0.1964, allocations: 0.8411 MB / 0.7361 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000861/0.1973, allocations: 191.7 kB / 0.7362 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1973, allocations: 0 / 0.7362 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.1977, allocations: 107.8 kB / 0.7364 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.198, allocations: 3.094 kB / 0.7364 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.2019, allocations: 1.853 MB / 0.7382 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2022, allocations: 0.6885 MB / 0.7388 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.531e-05/0.2023, allocations: 19.98 kB / 0.7389 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.2024, allocations: 15.44 kB / 0.7389 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of SimCode: time 1.143e-06/0.2024, allocations: 0 / 0.7389 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.2245, allocations: 2.103 MB / 0.7409 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.36, allocations: 6.719 kB / 0.7409 GB, free: 4.887 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.348924590973184] Failed to read output from testmodel.py, exit status != 0: 11.53049460798502 11.556729428 11.369637984 Calling exit ...