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.001492/0.001492, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001622/0.001622, allocations: 215.8 kB / 23.01 MB, free: 4.566 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.321/1.321, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] 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.8454/0.8454, allocations: 145 MB / 458.2 MB, free: 15.51 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.001942/0.001942, allocations: 61.88 kB / 0.6344 GB, free: 6.836 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1557, allocations: 87.89 MB / 0.7202 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002742/0.1585, allocations: 1.49 MB / 0.7217 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1595, allocations: 0.6397 MB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.1596, allocations: 3.938 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.1596, allocations: 0 / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.1597, allocations: 7.938 kB / 0.7223 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1599, allocations: 67.75 kB / 0.7224 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.16, allocations: 27.92 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.301e-05/0.1601, allocations: 0 / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1602, allocations: 23.91 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.1602, allocations: 15.92 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1603, allocations: 4 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1604, allocations: 51.95 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.1604, allocations: 4 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1604, allocations: 19.88 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1606, allocations: 79.7 kB / 0.7226 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1606, allocations: 4 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1606, allocations: 0 / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1606, allocations: 0 / 0.7226 GB, free: 12.48 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.0003899/0.161, allocations: 270.1 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.161, allocations: 12.03 kB / 0.7229 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1611, allocations: 16.88 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.1613, allocations: 118.5 kB / 0.723 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-06/0.1613, allocations: 4.375 kB / 0.723 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1613, allocations: 384 / 0.723 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1615, allocations: 46 kB / 0.723 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1615, allocations: 4 kB / 0.7231 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.1615, allocations: 0 / 0.7231 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1615, allocations: 0 / 0.7231 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.1616, allocations: 23.92 kB / 0.7231 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.1619, allocations: 228 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.1619, allocations: 34.56 kB / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.162, allocations: 9.594 kB / 0.7233 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005845/0.1626, allocations: 99.86 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1626, allocations: 30.56 kB / 0.7235 GB, free: 11.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1626, allocations: 0 / 0.7235 GB, free: 11.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.1628, allocations: 69.55 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1629, allocations: 55.34 kB / 0.7236 GB, free: 11.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.163, allocations: 109.8 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.163, allocations: 29.83 kB / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.163, allocations: 88.14 kB / 0.7238 GB, free: 11.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.163, allocations: 3.953 kB / 0.7238 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1631, allocations: 21.7 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1632, allocations: 310.8 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/0.1633, allocations: 8 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.1633, allocations: 11.98 kB / 0.7241 GB, free: 10.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.1634, allocations: 36.78 kB / 0.7242 GB, free: 10.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1634, allocations: 0 / 0.7242 GB, free: 10.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001161/0.1635, allocations: 57.64 kB / 0.7242 GB, free: 10.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1635, allocations: 8 kB / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1635, allocations: 0 / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1635, allocations: 0 / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.1636, allocations: 7.984 kB / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1636, allocations: 0 / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.1636, allocations: 7.969 kB / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1636, allocations: 8 kB / 0.7243 GB, free: 10.61 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 7.836e-05/0.1637, allocations: 109.8 kB / 0.7244 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1637, allocations: 7.984 kB / 0.7244 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.1639, allocations: 61.25 kB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1639, allocations: 0 / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1639, allocations: 3.984 kB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1639, allocations: 0 / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1641, allocations: 140.7 kB / 0.7246 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1641, allocations: 0 / 0.7246 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.1641, allocations: 7.984 kB / 0.7246 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1641, allocations: 0 / 0.7246 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1641, allocations: 4 kB / 0.7246 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1641, allocations: 0 / 0.7246 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1641, allocations: 4 kB / 0.7246 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1643, allocations: 155.8 kB / 0.7247 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.1643, allocations: 3.953 kB / 0.7247 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.1643, allocations: 7.938 kB / 0.7247 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.1644, allocations: 3.984 kB / 0.7247 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.1644, allocations: 7.938 kB / 0.7247 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.1644, allocations: 4 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.1644, allocations: 87.27 kB / 0.7248 GB, free: 9.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1644, allocations: 0 / 0.7248 GB, free: 9.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002243/0.1647, allocations: 15.94 kB / 0.7249 GB, free: 9.914 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.0001559/0.1648, allocations: 115.2 kB / 0.725 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.1649, allocations: 19.98 kB / 0.725 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1649, allocations: 4 kB / 0.725 GB, free: 9.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.165, allocations: 11.92 kB / 0.725 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.1652, allocations: 11.94 kB / 0.725 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.1655, allocations: 152.6 kB / 0.7252 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1658, allocations: 0.6807 MB / 0.7258 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.1658, allocations: 7.438 kB / 0.7258 GB, free: 8.855 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1658, allocations: 0 / 0.7258 GB, free: 8.855 MB / 0.545 GB Notification: Performance of Templates: time 0.002366/0.1682, allocations: 0.8766 MB / 0.7267 GB, free: 7.98 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: 7.052184632048011] Failed to read output from testmodel.py, exit status != 0: 0.1759047561790794 0.18945831600000002 0.026044421 Calling exit ...