Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.00132/0.00132, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001449/0.001449, allocations: 213.8 kB / 22.99 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9241/0.9241, allocations: 145 MB / 458.2 MB, free: 15.27 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: BuildSysPro 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.002155/0.002155, allocations: 66.81 kB / 0.6343 GB, free: 6.191 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1824, allocations: 87.89 MB / 0.7201 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002864/0.1853, allocations: 1.483 MB / 0.7216 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004637/0.1858, allocations: 128.4 kB / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.1858, allocations: 0 / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.39e-05/0.1859, allocations: 7.922 kB / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.1859, allocations: 7.938 kB / 0.7217 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1862, allocations: 31.89 kB / 0.7218 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1863, allocations: 39.86 kB / 0.7218 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1864, allocations: 11.98 kB / 0.7218 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.1864, allocations: 23.92 kB / 0.7218 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.1865, allocations: 23.92 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1865, allocations: 4 kB / 0.7219 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1866, allocations: 23.98 kB / 0.7219 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.1867, allocations: 19.91 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1867, allocations: 11.94 kB / 0.7219 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1868, allocations: 71.78 kB / 0.722 GB, free: 12.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1869, allocations: 0 / 0.722 GB, free: 12.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1869, allocations: 0 / 0.722 GB, free: 12.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.1869, allocations: 0 / 0.722 GB, free: 12.41 MB / 0.545 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.0005034/0.1874, allocations: 288 kB / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1874, allocations: 16.02 kB / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.1885, allocations: 208.5 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1886, allocations: 110.5 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1886, allocations: 4.359 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1887, allocations: 12.38 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.1892, allocations: 190 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1893, allocations: 4.172 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.1893, allocations: 7.938 kB / 0.7228 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1893, allocations: 0 / 0.7228 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.1902, allocations: 279.6 kB / 0.7231 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.1911, allocations: 380.8 kB / 0.7234 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.1922, allocations: 282.2 kB / 0.7237 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.1926, allocations: 96.8 kB / 0.7238 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1926, allocations: 4 kB / 0.7238 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.1927, allocations: 42.5 kB / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1927, allocations: 0 / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001202/0.1939, allocations: 309.3 kB / 0.7241 GB, free: 10.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1939, allocations: 51.41 kB / 0.7242 GB, free: 10.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.545e-05/0.194, allocations: 109.8 kB / 0.7243 GB, free: 9.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.194, allocations: 25.7 kB / 0.7243 GB, free: 9.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1941, allocations: 92.12 kB / 0.7244 GB, free: 9.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.1941, allocations: 11.91 kB / 0.7244 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1942, allocations: 13.72 kB / 0.7244 GB, free: 9.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1943, allocations: 322.8 kB / 0.7247 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.1947, allocations: 95.88 kB / 0.7248 GB, free: 9.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.1951, allocations: 95.88 kB / 0.7249 GB, free: 9.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.1958, allocations: 180.5 kB / 0.7251 GB, free: 9.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1958, allocations: 0 / 0.7251 GB, free: 9.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007634/0.1965, allocations: 205.5 kB / 0.7253 GB, free: 8.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1965, allocations: 8 kB / 0.7253 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1966, allocations: 7.938 kB / 0.7253 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1966, allocations: 0 / 0.7253 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.1968, allocations: 35.94 kB / 0.7253 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1968, allocations: 0 / 0.7253 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.197, allocations: 27.95 kB / 0.7253 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.197, allocations: 4 kB / 0.7253 GB, free: 8.785 MB / 0.545 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.0001079/0.1971, allocations: 117.8 kB / 0.7255 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.1972, allocations: 7.953 kB / 0.7255 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.1972, allocations: 15.94 kB / 0.7255 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1972, allocations: 0 / 0.7255 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1972, allocations: 0 / 0.7255 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1972, allocations: 0 / 0.7255 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1974, allocations: 145.2 kB / 0.7256 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1974, allocations: 0 / 0.7256 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.1977, allocations: 35.94 kB / 0.7257 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1977, allocations: 0 / 0.7257 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1977, allocations: 4 kB / 0.7257 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1977, allocations: 4.312 kB / 0.7257 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1977, allocations: 336 / 0.7257 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008443/0.1985, allocations: 315.2 kB / 0.726 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.1985, allocations: 11.89 kB / 0.726 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1986, allocations: 4 kB / 0.726 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.1988, allocations: 31.95 kB / 0.726 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1988, allocations: 3.984 kB / 0.726 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1988, allocations: 0 / 0.726 GB, free: 8.039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.1989, allocations: 95.2 kB / 0.7261 GB, free: 7.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1989, allocations: 0 / 0.7261 GB, free: 7.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002419/0.1991, allocations: 12 kB / 0.7261 GB, free: 7.934 MB / 0.545 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.000131/0.1993, allocations: 99.22 kB / 0.7262 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007953/0.2001, allocations: 195.8 kB / 0.7264 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2001, allocations: 0 / 0.7264 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.2004, allocations: 107.9 kB / 0.7265 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.2007, allocations: 3.938 kB / 0.7265 GB, free: 7.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.2017, allocations: 290.9 kB / 0.7268 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.536e-05/0.2018, allocations: 75.27 kB / 0.7269 GB, free: 7.117 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.2018, allocations: 11.44 kB / 0.7269 GB, free: 7.105 MB / 0.545 GB Notification: Performance of SimCode: time 4.5e-07/0.2018, allocations: 0 / 0.7269 GB, free: 7.105 MB / 0.545 GB Notification: Performance of Templates: time 0.002836/0.2047, allocations: 1.149 MB / 0.728 GB, free: 5.961 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.83518196688965] Failed to read output from testmodel.py, exit status != 0: 0.21419557416811585 0.22859767600000003 0.038468648 Calling exit ...