Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001502/0.001502, 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.001616/0.001616, allocations: 217.5 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8501/0.8501, allocations: 145 MB / 458.2 MB, free: 15.49 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") [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.001891/0.001891, allocations: 67.05 kB / 0.6344 GB, free: 6.805 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.155, allocations: 87.89 MB / 0.7202 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002543/0.1576, allocations: 1.466 MB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.1584, allocations: 0.4997 MB / 0.7221 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.1584, allocations: 3.938 kB / 0.7221 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.1584, allocations: 3.938 kB / 0.7221 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.1585, allocations: 15.91 kB / 0.7222 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.1587, allocations: 19.98 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.1587, allocations: 19.94 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.1588, allocations: 7.984 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.1589, allocations: 15.88 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.521e-05/0.1589, allocations: 11.98 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.1589, allocations: 0 / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.159, allocations: 23.97 kB / 0.7223 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.159, allocations: 7.938 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.159, allocations: 11.92 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.47e-05/0.1591, allocations: 31.91 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1591, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1591, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1591, allocations: 0 / 0.7223 GB, free: 12.77 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.0004202/0.1596, allocations: 272.1 kB / 0.7226 GB, free: 12.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.1596, allocations: 8.031 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.1596, allocations: 4.938 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1597, allocations: 114.5 kB / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1597, allocations: 4.375 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1598, allocations: 8.375 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1599, allocations: 50 kB / 0.7227 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1599, allocations: 3.984 kB / 0.7228 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.1599, allocations: 0 / 0.7228 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1599, allocations: 4 kB / 0.7228 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1601, allocations: 31.97 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1604, allocations: 227.9 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1605, allocations: 38.5 kB / 0.723 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.1606, allocations: 20.91 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.1607, allocations: 7.984 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1607, allocations: 34.56 kB / 0.7231 GB, free: 11.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1607, allocations: 4 kB / 0.7231 GB, free: 11.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003226/0.161, allocations: 81.62 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1611, allocations: 59.34 kB / 0.7232 GB, free: 11.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.668e-05/0.1612, allocations: 97.86 kB / 0.7233 GB, free: 11.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1612, allocations: 25.7 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.1612, allocations: 88.12 kB / 0.7234 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.1612, allocations: 12.08 kB / 0.7235 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1613, allocations: 9.719 kB / 0.7235 GB, free: 11.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1614, allocations: 314.8 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.1615, allocations: 15.98 kB / 0.7238 GB, free: 11.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.488e-05/0.1616, allocations: 19.91 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1617, allocations: 44.83 kB / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1617, allocations: 0 / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001793/0.1619, allocations: 73.59 kB / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1619, allocations: 4 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1619, allocations: 0 / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1619, allocations: 4 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.162, allocations: 7.984 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.162, allocations: 4.031 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.162, allocations: 7.938 kB / 0.7239 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.162, allocations: 0 / 0.7239 GB, free: 10.92 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.567e-05/0.1621, allocations: 119.1 kB / 0.724 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1621, allocations: 3.953 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.1623, allocations: 72.97 kB / 0.7241 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1623, allocations: 4.031 kB / 0.7241 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1624, allocations: 0 / 0.7241 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1624, allocations: 0 / 0.7241 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1625, allocations: 132.7 kB / 0.7243 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.1625, allocations: 4 kB / 0.7243 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.1626, allocations: 7.938 kB / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1626, allocations: 0 / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1626, allocations: 0 / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1626, allocations: 0 / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1626, allocations: 4.25 kB / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1628, allocations: 167.5 kB / 0.7244 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.1628, allocations: 3.984 kB / 0.7244 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1628, allocations: 4 kB / 0.7244 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.1629, allocations: 8 kB / 0.7244 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.1629, allocations: 7.984 kB / 0.7245 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1629, allocations: 4 kB / 0.7245 GB, free: 10.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.163, allocations: 83.31 kB / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.163, allocations: 0 / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002097/0.1632, allocations: 7.938 kB / 0.7245 GB, free: 10.22 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.0001357/0.1633, allocations: 103.2 kB / 0.7246 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.1635, allocations: 35.97 kB / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1635, allocations: 0 / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.1636, allocations: 20.05 kB / 0.7247 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.1638, allocations: 18.27 kB / 0.7247 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.1641, allocations: 131.9 kB / 0.7248 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1644, allocations: 0.6768 MB / 0.7255 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.1644, allocations: 11.38 kB / 0.7255 GB, free: 9.164 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1644, allocations: 0 / 0.7255 GB, free: 9.164 MB / 0.545 GB Notification: Performance of Templates: time 0.002116/0.1665, allocations: 0.6678 MB / 0.7262 GB, free: 8.496 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1133417980745435] Failed to read output from testmodel.py, exit status != 0: 0.17436025198549032 0.187470618 0.025590248000000003 Calling exit ...