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.00184/0.00184, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.00209/0.00209, allocations: 215.2 kB / 22.25 MB, free: 5.129 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.98 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.9159/0.9159, allocations: 145 MB / 457.4 MB, free: 15.55 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [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.001994/0.001994, allocations: 70.75 kB / 0.6332 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1733, allocations: 87.88 MB / 0.719 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002801/0.1761, allocations: 1.47 MB / 0.7204 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1771, allocations: 0.5035 MB / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.1772, allocations: 0 / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.1772, allocations: 4 kB / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.1773, allocations: 3.938 kB / 0.7209 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.1775, allocations: 27.91 kB / 0.721 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.871e-05/0.1776, allocations: 27.92 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1777, allocations: 3.938 kB / 0.721 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.1778, allocations: 11.94 kB / 0.721 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.1778, allocations: 11.98 kB / 0.721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1778, allocations: 4 kB / 0.721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.1779, allocations: 19.92 kB / 0.721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1779, allocations: 15.91 kB / 0.721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1779, allocations: 11.94 kB / 0.7211 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.1781, allocations: 23.97 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1781, allocations: 0 / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1781, allocations: 3.938 kB / 0.7211 GB, free: 13.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1781, allocations: 0 / 0.7211 GB, free: 13.29 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.0004715/0.1786, allocations: 266.3 kB / 0.7213 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1786, allocations: 12.03 kB / 0.7213 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.1786, allocations: 34.73 kB / 0.7214 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.1787, allocations: 0.9375 kB / 0.7214 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1788, allocations: 118.5 kB / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1788, allocations: 384 / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1788, allocations: 384 / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.179, allocations: 57.73 kB / 0.7216 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.179, allocations: 0 / 0.7216 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.179, allocations: 0 / 0.7216 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.179, allocations: 0 / 0.7216 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.1792, allocations: 39.95 kB / 0.7216 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1795, allocations: 223.9 kB / 0.7218 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1797, allocations: 34.62 kB / 0.7218 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.1798, allocations: 32.77 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.1799, allocations: 4 kB / 0.7219 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1799, allocations: 34.56 kB / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1799, allocations: 0 / 0.7219 GB, free: 12.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003434/0.1802, allocations: 81.64 kB / 0.722 GB, free: 12.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1803, allocations: 51.41 kB / 0.722 GB, free: 12.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.1804, allocations: 109.8 kB / 0.7221 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1804, allocations: 25.83 kB / 0.7222 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.1804, allocations: 88.14 kB / 0.7222 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.1805, allocations: 3.953 kB / 0.7222 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1805, allocations: 13.72 kB / 0.7223 GB, free: 11.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1806, allocations: 318.8 kB / 0.7226 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.1807, allocations: 23.92 kB / 0.7226 GB, free: 11.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.1808, allocations: 15.98 kB / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1809, allocations: 40.89 kB / 0.7226 GB, free: 11.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1809, allocations: 0 / 0.7226 GB, free: 11.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.1811, allocations: 65.66 kB / 0.7227 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1811, allocations: 7.938 kB / 0.7227 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1811, allocations: 3.938 kB / 0.7227 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1811, allocations: 0 / 0.7227 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.1812, allocations: 16.02 kB / 0.7227 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1812, allocations: 0 / 0.7227 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.1813, allocations: 7.984 kB / 0.7227 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1813, allocations: 3.938 kB / 0.7227 GB, free: 11.39 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.934e-05/0.1814, allocations: 113.8 kB / 0.7229 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1814, allocations: 11.94 kB / 0.7229 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.1816, allocations: 68.97 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1816, allocations: 0 / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.1816, allocations: 4 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1816, allocations: 0 / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1818, allocations: 136.7 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1818, allocations: 0 / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.1818, allocations: 11.98 kB / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1818, allocations: 0 / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.1818, allocations: 0 / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1818, allocations: 0 / 0.7231 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1818, allocations: 4.031 kB / 0.7231 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1821, allocations: 163.4 kB / 0.7232 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.1821, allocations: 12 kB / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1821, allocations: 0 / 0.7232 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.1822, allocations: 7.984 kB / 0.7233 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1822, allocations: 4.031 kB / 0.7233 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1822, allocations: 256 / 0.7233 GB, free: 10.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.1823, allocations: 83.28 kB / 0.7233 GB, free: 10.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1823, allocations: 0 / 0.7233 GB, free: 10.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002314/0.1825, allocations: 15.94 kB / 0.7234 GB, free: 10.69 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.0006378/0.1831, allocations: 0.7052 MB / 0.724 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1833, allocations: 31.97 kB / 0.7241 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1833, allocations: 0 / 0.7241 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.1834, allocations: 19.97 kB / 0.7241 GB, free: 9.902 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1838, allocations: 8.156 kB / 0.7241 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.1842, allocations: 151 kB / 0.7242 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1845, allocations: 0.6806 MB / 0.7249 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.1845, allocations: 0 / 0.7249 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.1846, allocations: 11.44 kB / 0.7249 GB, free: 8.992 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.1846, allocations: 7.938 kB / 0.7249 GB, free: 8.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.2136, allocations: 1.545 MB / 0.7264 GB, free: 7.582 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.93, allocations: 8.625 kB / 0.7264 GB, free: 7.574 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.738577798001643] Failed to read output from testmodel.py, exit status != 0: 11.030664360001538 11.046235613 10.865024579 Calling exit ...