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.001329/0.001329, 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.001522/0.001522, allocations: 217.3 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.411/1.411, 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.9155/0.9155, allocations: 145 MB / 458.2 MB, free: 15.26 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.002126/0.002126, allocations: 74.58 kB / 0.6343 GB, free: 6.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1669, allocations: 87.88 MB / 0.7201 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003071/0.1699, allocations: 1.479 MB / 0.7216 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1711, allocations: 0.5852 MB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1712, allocations: 0 / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.1712, allocations: 3.938 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.1713, allocations: 3.938 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1717, allocations: 63.81 kB / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1719, allocations: 31.91 kB / 0.7223 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.172, allocations: 0 / 0.7223 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1721, allocations: 27.86 kB / 0.7223 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.1722, allocations: 11.92 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1722, allocations: 4 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1723, allocations: 55.94 kB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.1724, allocations: 8 kB / 0.7224 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.1724, allocations: 3.938 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1726, allocations: 79.73 kB / 0.7224 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1726, allocations: 0 / 0.7224 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1726, allocations: 0 / 0.7224 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1726, allocations: 0 / 0.7224 GB, free: 11.93 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.0004847/0.1731, allocations: 278.1 kB / 0.7227 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1731, allocations: 8.031 kB / 0.7227 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.1733, allocations: 20.88 kB / 0.7227 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1735, allocations: 114.5 kB / 0.7228 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1735, allocations: 8.312 kB / 0.7228 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1736, allocations: 4.375 kB / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1737, allocations: 42 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1737, allocations: 0 / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1737, allocations: 3.938 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1737, allocations: 0 / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.409e-05/0.1738, allocations: 19.98 kB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.1741, allocations: 208.6 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1743, allocations: 42.42 kB / 0.7232 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.1743, allocations: 13.55 kB / 0.7232 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/0.175, allocations: 91.86 kB / 0.7233 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.175, allocations: 38.56 kB / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.175, allocations: 0 / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002547/0.1752, allocations: 61.67 kB / 0.7233 GB, free: 10.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1753, allocations: 55.34 kB / 0.7234 GB, free: 10.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1754, allocations: 109.8 kB / 0.7235 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1754, allocations: 25.7 kB / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1755, allocations: 88.14 kB / 0.7236 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1755, allocations: 7.891 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.1755, allocations: 21.7 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1757, allocations: 311 kB / 0.7239 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.1757, allocations: 15.98 kB / 0.724 GB, free: 10.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.1758, allocations: 11.94 kB / 0.724 GB, free: 10.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.1758, allocations: 24.84 kB / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1758, allocations: 0 / 0.724 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001304/0.176, allocations: 65.52 kB / 0.7241 GB, free: 10.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.176, allocations: 10.34 kB / 0.7241 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.176, allocations: 96 / 0.7241 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.176, allocations: 7.984 kB / 0.7241 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.1761, allocations: 4 kB / 0.7241 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1761, allocations: 0 / 0.7241 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.462e-05/0.1761, allocations: 4 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1761, allocations: 0 / 0.7241 GB, free: 10.07 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.815e-05/0.1762, allocations: 116.8 kB / 0.7242 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1762, allocations: 4 kB / 0.7242 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.1764, allocations: 61.3 kB / 0.7243 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1764, allocations: 4.406 kB / 0.7243 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1764, allocations: 0 / 0.7243 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1764, allocations: 0 / 0.7243 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.1766, allocations: 117.2 kB / 0.7244 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1766, allocations: 11.88 kB / 0.7244 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.1766, allocations: 4 kB / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1766, allocations: 0 / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1766, allocations: 4 kB / 0.7244 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1766, allocations: 0 / 0.7244 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1766, allocations: 0 / 0.7244 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.1768, allocations: 151.5 kB / 0.7245 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.1769, allocations: 11.89 kB / 0.7245 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1769, allocations: 0 / 0.7245 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.1769, allocations: 4 kB / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.177, allocations: 3.984 kB / 0.7246 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.177, allocations: 0 / 0.7246 GB, free: 9.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.883e-05/0.177, allocations: 87.28 kB / 0.7246 GB, free: 9.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 3.938 kB / 0.7246 GB, free: 9.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000242/0.1773, allocations: 19.92 kB / 0.7247 GB, free: 9.418 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.000187/0.1775, allocations: 123.1 kB / 0.7248 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1776, allocations: 23.97 kB / 0.7248 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1776, allocations: 0 / 0.7248 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.1776, allocations: 8 kB / 0.7248 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.1779, allocations: 3.938 kB / 0.7248 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.1783, allocations: 160.4 kB / 0.725 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.1783, allocations: 71.33 kB / 0.725 GB, free: 8.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.1783, allocations: 11.56 kB / 0.725 GB, free: 8.965 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1783, allocations: 0 / 0.725 GB, free: 8.965 MB / 0.545 GB Notification: Performance of Templates: time 0.002591/0.1809, allocations: 0.8814 MB / 0.7259 GB, free: 8.086 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.736794708296657] Failed to read output from testmodel.py, exit status != 0: 0.19043644098564982 0.20503753400000002 0.029344819 Calling exit ...