Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.001381/0.001381, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001763/0.001763, allocations: 211.6 kB / 22.25 MB, free: 5.262 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.793 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.9372/0.9372, allocations: 145 MB / 457.4 MB, free: 15.28 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") [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.002291/0.002291, allocations: 66.19 kB / 0.6336 GB, free: 6.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.191, allocations: 87.88 MB / 0.7194 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002988/0.194, allocations: 1.479 MB / 0.7208 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1951, allocations: 0.5775 MB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.1952, allocations: 0 / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.1952, allocations: 3.938 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.1953, allocations: 11.92 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.1956, allocations: 59.81 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1957, allocations: 27.88 kB / 0.7215 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1958, allocations: 7.984 kB / 0.7215 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.196, allocations: 23.86 kB / 0.7215 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.196, allocations: 11.92 kB / 0.7215 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.196, allocations: 4 kB / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1962, allocations: 55.95 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1962, allocations: 7.984 kB / 0.7216 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.1962, allocations: 11.92 kB / 0.7216 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1964, allocations: 75.73 kB / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1964, allocations: 0 / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1964, allocations: 0 / 0.7217 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1964, allocations: 0 / 0.7217 GB, free: 11.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004616/0.1969, allocations: 278.1 kB / 0.722 GB, free: 11.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1969, allocations: 12.03 kB / 0.722 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.1971, allocations: 12.89 kB / 0.722 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1973, allocations: 122.4 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1973, allocations: 4.375 kB / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.1973, allocations: 384 / 0.7221 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1974, allocations: 45.98 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1974, allocations: 0 / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1975, allocations: 7.984 kB / 0.7222 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1975, allocations: 4 kB / 0.7222 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.1975, allocations: 15.98 kB / 0.7222 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.1978, allocations: 204.6 kB / 0.7224 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.995e-05/0.1979, allocations: 30.52 kB / 0.7224 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.198, allocations: 17.53 kB / 0.7224 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.1986, allocations: 91.88 kB / 0.7225 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1986, allocations: 34.56 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1986, allocations: 0 / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002541/0.1988, allocations: 65.61 kB / 0.7226 GB, free: 10.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1989, allocations: 55.41 kB / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.199, allocations: 109.8 kB / 0.7228 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.199, allocations: 29.7 kB / 0.7228 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.1991, allocations: 88.12 kB / 0.7229 GB, free: 10.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1991, allocations: 11.89 kB / 0.7229 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1991, allocations: 13.72 kB / 0.7229 GB, free: 10.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1992, allocations: 315 kB / 0.7232 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.1993, allocations: 19.92 kB / 0.7232 GB, free: 10.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.1993, allocations: 4 kB / 0.7232 GB, free: 10.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.1994, allocations: 24.84 kB / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1994, allocations: 0 / 0.7232 GB, free: 10.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/0.1995, allocations: 73.5 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1995, allocations: 4 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1995, allocations: 96 / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1995, allocations: 4 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.1996, allocations: 4 kB / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1996, allocations: 0 / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.1996, allocations: 7.984 kB / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1997, allocations: 4 kB / 0.7233 GB, free: 10.1 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 (2): * Single equations (assignments): 2 * 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 8.467e-05/0.1997, allocations: 113.8 kB / 0.7234 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1998, allocations: 0 / 0.7234 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.1999, allocations: 65.23 kB / 0.7235 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1999, allocations: 8.031 kB / 0.7235 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1999, allocations: 0 / 0.7235 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1999, allocations: 0 / 0.7235 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.2001, allocations: 113.2 kB / 0.7236 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2001, allocations: 3.938 kB / 0.7236 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.2001, allocations: 8 kB / 0.7236 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2001, allocations: 0 / 0.7236 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.2001, allocations: 3.984 kB / 0.7236 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2001, allocations: 0 / 0.7236 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2001, allocations: 0 / 0.7236 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2003, allocations: 151.5 kB / 0.7238 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.2003, allocations: 7.891 kB / 0.7238 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.2003, allocations: 0 / 0.7238 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.2004, allocations: 7.984 kB / 0.7238 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.2004, allocations: 3.938 kB / 0.7238 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.2004, allocations: 0 / 0.7238 GB, free: 9.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.2005, allocations: 95.58 kB / 0.7239 GB, free: 9.465 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2005, allocations: 0 / 0.7239 GB, free: 9.465 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002229/0.2007, allocations: 15.94 kB / 0.7239 GB, free: 9.449 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 (2): * Single equations (assignments): 2 * 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.0001757/0.2009, allocations: 127.1 kB / 0.724 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.201, allocations: 19.98 kB / 0.724 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.201, allocations: 0 / 0.724 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.201, allocations: 11.98 kB / 0.7241 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.2012, allocations: 11.94 kB / 0.7241 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.2015, allocations: 122.8 kB / 0.7242 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.496e-05/0.2016, allocations: 67.34 kB / 0.7242 GB, free: 9.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.2016, allocations: 8.125 kB / 0.7243 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.2017, allocations: 7.438 kB / 0.7243 GB, free: 9.031 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.2017, allocations: 0 / 0.7243 GB, free: 9.031 MB / 0.545 GB Notification: Performance of Templates: time 0.003116/0.2048, allocations: 0.7026 MB / 0.7249 GB, free: 8.332 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.573655664920807] Failed to read output from testmodel.py, exit status != 0: 0.21280700899660587 0.22637098100000003 0.027055747 Calling exit ...