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.001285/0.001285, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001408/0.001408, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.789 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.9117/0.9117, allocations: 145 MB / 457.4 MB, free: 15.29 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.001997/0.001997, allocations: 67.56 kB / 0.6336 GB, free: 6.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1738, allocations: 87.89 MB / 0.7194 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002582/0.1764, allocations: 1.456 MB / 0.7208 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.1772, allocations: 483.6 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.339e-05/0.1772, allocations: 0 / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.1772, allocations: 0 / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.688e-05/0.1773, allocations: 15.92 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1775, allocations: 19.92 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.458e-05/0.1776, allocations: 27.92 kB / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.1777, allocations: 0 / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.1777, allocations: 11.98 kB / 0.7213 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.1777, allocations: 11.94 kB / 0.7214 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1778, allocations: 4 kB / 0.7214 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.973e-05/0.1778, allocations: 15.97 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.1778, allocations: 4 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.1779, allocations: 11.94 kB / 0.7214 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.178, allocations: 39.77 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.178, allocations: 0 / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.178, allocations: 0 / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.178, allocations: 0 / 0.7214 GB, free: 12.2 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.0004069/0.1784, allocations: 266.3 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1784, allocations: 12.03 kB / 0.7217 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1784, allocations: 0.9375 kB / 0.7217 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1786, allocations: 114.5 kB / 0.7218 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1786, allocations: 384 / 0.7218 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.1786, allocations: 4.375 kB / 0.7218 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1787, allocations: 53.98 kB / 0.7219 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1788, allocations: 0 / 0.7219 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1788, allocations: 0 / 0.7219 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1788, allocations: 0 / 0.7219 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1789, allocations: 39.89 kB / 0.7219 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.1792, allocations: 196.5 kB / 0.7221 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1793, allocations: 42.53 kB / 0.7221 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.1794, allocations: 24.91 kB / 0.7221 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.374e-05/0.1795, allocations: 7.984 kB / 0.7222 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1795, allocations: 34.5 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1795, allocations: 0 / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003477/0.1799, allocations: 85.58 kB / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.1799, allocations: 51.41 kB / 0.7223 GB, free: 11.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.18, allocations: 106 kB / 0.7224 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.18, allocations: 25.7 kB / 0.7224 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.1801, allocations: 88.08 kB / 0.7225 GB, free: 10.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1801, allocations: 11.94 kB / 0.7225 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1801, allocations: 9.719 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1803, allocations: 318.8 kB / 0.7229 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.1804, allocations: 11.98 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.1804, allocations: 19.97 kB / 0.7229 GB, free: 10.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1806, allocations: 44.83 kB / 0.7229 GB, free: 10.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1806, allocations: 0 / 0.7229 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.1808, allocations: 69.59 kB / 0.723 GB, free: 10.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.1808, allocations: 4 kB / 0.723 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1808, allocations: 4 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1808, allocations: 0 / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.1809, allocations: 8.031 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1809, allocations: 3.984 kB / 0.723 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.1809, allocations: 4 kB / 0.723 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.1809, allocations: 0 / 0.723 GB, free: 10.4 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.214e-05/0.181, allocations: 117.8 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.181, allocations: 3.953 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1813, allocations: 76.89 kB / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1813, allocations: 0 / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1813, allocations: 4.031 kB / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1813, allocations: 0 / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1814, allocations: 113.2 kB / 0.7233 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1814, allocations: 4.188 kB / 0.7233 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.1815, allocations: 4 kB / 0.7233 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1815, allocations: 4 kB / 0.7233 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1815, allocations: 0 / 0.7233 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1815, allocations: 4 kB / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1815, allocations: 3.984 kB / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1817, allocations: 171.4 kB / 0.7235 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.1817, allocations: 11.91 kB / 0.7235 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1817, allocations: 0 / 0.7235 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.1818, allocations: 4 kB / 0.7235 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.1818, allocations: 11.98 kB / 0.7235 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1818, allocations: 0 / 0.7235 GB, free: 9.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.1819, allocations: 79.28 kB / 0.7236 GB, free: 9.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1819, allocations: 0 / 0.7236 GB, free: 9.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002091/0.1821, allocations: 4 kB / 0.7236 GB, free: 9.727 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.0001429/0.1822, allocations: 107.2 kB / 0.7237 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1824, allocations: 39.97 kB / 0.7237 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1824, allocations: 0 / 0.7237 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.1825, allocations: 19.92 kB / 0.7238 GB, free: 9.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1828, allocations: 22.05 kB / 0.7238 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.183, allocations: 114.2 kB / 0.7239 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.518e-05/0.1831, allocations: 55.36 kB / 0.7239 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.427e-05/0.1831, allocations: 4 kB / 0.724 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.1831, allocations: 11.42 kB / 0.724 GB, free: 9.309 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1831, allocations: 0 / 0.724 GB, free: 9.309 MB / 0.545 GB Notification: Performance of Templates: time 0.002785/0.1859, allocations: 0.6109 MB / 0.7246 GB, free: 8.715 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: 5.504933739081025] Failed to read output from testmodel.py, exit status != 0: 0.19381435960531235 0.20723258500000002 0.02635879 Calling exit ...