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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 105.7 kB / 19.59 MB, free: 2.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 191.8 kB / 22.85 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 251.5 MB, free: 13.07 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.9214/0.9214, allocations: 144.9 MB / 451.7 MB, free: 5.473 MB / 350.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 69.7 kB / 0.6256 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1763, allocations: 86.7 MB / 0.7103 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.00281/0.1791, allocations: 1.459 MB / 0.7117 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.18, allocations: 467.8 kB / 0.7122 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.18, allocations: 0 / 0.7122 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.18, allocations: 3.938 kB / 0.7122 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.1801, allocations: 7.922 kB / 0.7122 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1803, allocations: 31.91 kB / 0.7122 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.1804, allocations: 15.94 kB / 0.7122 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.1805, allocations: 11.98 kB / 0.7122 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.1805, allocations: 15.94 kB / 0.7123 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.1806, allocations: 15.92 kB / 0.7123 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1806, allocations: 0 / 0.7123 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.516e-05/0.1806, allocations: 19.97 kB / 0.7123 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1807, allocations: 4 kB / 0.7123 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.1807, allocations: 11.94 kB / 0.7123 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1808, allocations: 27.84 kB / 0.7123 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1808, allocations: 0 / 0.7123 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1808, allocations: 0 / 0.7123 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1808, allocations: 3.938 kB / 0.7123 GB, free: 6.711 MB / 0.5294 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.0004423/0.1813, allocations: 274.3 kB / 0.7126 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1813, allocations: 8.031 kB / 0.7126 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.1813, allocations: 4.938 kB / 0.7126 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1814, allocations: 114.4 kB / 0.7127 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1814, allocations: 4.375 kB / 0.7127 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1815, allocations: 4.375 kB / 0.7127 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1816, allocations: 53.98 kB / 0.7128 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1816, allocations: 4 kB / 0.7128 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1817, allocations: 0 / 0.7128 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1817, allocations: 0 / 0.7128 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1818, allocations: 31.97 kB / 0.7128 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.1822, allocations: 223.9 kB / 0.713 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1823, allocations: 38.56 kB / 0.7131 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.1824, allocations: 24.89 kB / 0.7131 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.1825, allocations: 4 kB / 0.7131 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1825, allocations: 34.56 kB / 0.7131 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1825, allocations: 0 / 0.7131 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003929/0.1829, allocations: 89.61 kB / 0.7132 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.183, allocations: 55.41 kB / 0.7133 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.183, allocations: 101.8 kB / 0.7134 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1831, allocations: 25.7 kB / 0.7134 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.1831, allocations: 88.09 kB / 0.7135 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1831, allocations: 11.89 kB / 0.7135 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.1832, allocations: 9.719 kB / 0.7135 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1833, allocations: 318.8 kB / 0.7138 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.1834, allocations: 20.02 kB / 0.7138 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.1835, allocations: 12.23 kB / 0.7138 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1836, allocations: 44.77 kB / 0.7139 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.1836, allocations: 4 kB / 0.7139 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/0.1839, allocations: 73.66 kB / 0.7139 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1839, allocations: 4 kB / 0.7139 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1839, allocations: 0 / 0.7139 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1839, allocations: 4 kB / 0.7139 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.184, allocations: 7.984 kB / 0.714 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.184, allocations: 0 / 0.714 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.184, allocations: 7.984 kB / 0.714 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.184, allocations: 0 / 0.714 GB, free: 4.859 MB / 0.5294 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 9.4e-05/0.1841, allocations: 121.8 kB / 0.7141 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1842, allocations: 0 / 0.7141 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.1844, allocations: 80.89 kB / 0.7142 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1844, allocations: 0 / 0.7142 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1844, allocations: 3.938 kB / 0.7142 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1844, allocations: 0 / 0.7142 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1846, allocations: 132.7 kB / 0.7143 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1846, allocations: 7.984 kB / 0.7143 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.1846, allocations: 12.02 kB / 0.7143 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1846, allocations: 0 / 0.7143 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1847, allocations: 0 / 0.7143 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1847, allocations: 0 / 0.7143 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1847, allocations: 4 kB / 0.7143 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1849, allocations: 167.4 kB / 0.7145 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.1849, allocations: 4.031 kB / 0.7145 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1849, allocations: 3.938 kB / 0.7145 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.185, allocations: 11.98 kB / 0.7145 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.185, allocations: 0 / 0.7145 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1851, allocations: 4 kB / 0.7145 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.226e-05/0.1851, allocations: 83.22 kB / 0.7146 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1851, allocations: 0 / 0.7146 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000224/0.1853, allocations: 4 kB / 0.7146 GB, free: 4.152 MB / 0.5294 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.0001525/0.1855, allocations: 111.2 kB / 0.7147 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1857, allocations: 31.97 kB / 0.7147 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1857, allocations: 0 / 0.7147 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.1858, allocations: 19.97 kB / 0.7147 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1861, allocations: 12.12 kB / 0.7147 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.1864, allocations: 139.3 kB / 0.7149 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1867, allocations: 0.6807 MB / 0.7155 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.1868, allocations: 7.438 kB / 0.7155 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1868, allocations: 0 / 0.7155 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of Templates: time 0.002379/0.1892, allocations: 0.6631 MB / 0.7162 GB, free: 2.43 MB / 0.5294 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.794921548003913] Failed to read output from testmodel.py, exit status != 0: 0.1967662530078087 0.21181563499999995 0.027917172 Calling exit ...