Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001279/0.001279, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.002454/0.002454, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.9083/0.9083, allocations: 145 MB / 453.8 MB, free: 0.6992 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.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001992/0.001992, allocations: 75.05 kB / 0.6281 GB, free: 10.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1857, allocations: 87.82 MB / 0.7138 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0018/0.1875, allocations: 0.5938 MB / 0.7144 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1891, allocations: 1.167 MB / 0.7156 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.1891, allocations: 4 kB / 0.7156 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.1891, allocations: 0 / 0.7156 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1893, allocations: 19.92 kB / 0.7156 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.1893, allocations: 0 / 0.7156 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.107e-05/0.1894, allocations: 7.938 kB / 0.7156 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1894, allocations: 3.984 kB / 0.7156 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.162e-05/0.1894, allocations: 0 / 0.7156 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.432e-05/0.1894, allocations: 7.984 kB / 0.7156 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.982e-06/0.1894, allocations: 0 / 0.7156 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1895, allocations: 19.92 kB / 0.7156 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-06/0.1896, allocations: 3.938 kB / 0.7156 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.173e-05/0.1896, allocations: 4 kB / 0.7156 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.514e-05/0.1896, allocations: 20.19 kB / 0.7156 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1896, allocations: 0 / 0.7156 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1896, allocations: 0 / 0.7156 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1897, allocations: 4 kB / 0.7157 GB, free: 0.8984 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.0002992/0.19, allocations: 319.5 kB / 0.716 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.19, allocations: 8.031 kB / 0.716 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.19, allocations: 30.75 kB / 0.716 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.19, allocations: 4.938 kB / 0.716 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1902, allocations: 164.4 kB / 0.7162 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.1902, allocations: 384 / 0.7162 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1902, allocations: 4.312 kB / 0.7162 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1903, allocations: 45.75 kB / 0.7162 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1903, allocations: 0 / 0.7162 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.1903, allocations: 0 / 0.7162 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1903, allocations: 4 kB / 0.7162 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.1903, allocations: 7.984 kB / 0.7162 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1905, allocations: 145.7 kB / 0.7164 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1907, allocations: 38.61 kB / 0.7164 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.1907, allocations: 16.8 kB / 0.7164 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.1909, allocations: 85.19 kB / 0.7165 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1909, allocations: 34.5 kB / 0.7165 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1909, allocations: 0 / 0.7165 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004303/0.1952, allocations: 0.5715 MB / 0.7171 GB, free: 15.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1952, allocations: 51.41 kB / 0.7171 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.725e-05/0.1953, allocations: 89.86 kB / 0.7172 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1953, allocations: 33.64 kB / 0.7172 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.1953, allocations: 80.14 kB / 0.7173 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.1954, allocations: 15.84 kB / 0.7173 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.1955, allocations: 21.7 kB / 0.7174 GB, free: 14.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1956, allocations: 314.8 kB / 0.7177 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.1962, allocations: 79.95 kB / 0.7177 GB, free: 14.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.1968, allocations: 106.5 kB / 0.7178 GB, free: 14.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.198, allocations: 194.4 kB / 0.718 GB, free: 14.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.198, allocations: 0 / 0.718 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001287/0.1993, allocations: 213.5 kB / 0.7182 GB, free: 14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1993, allocations: 5.719 kB / 0.7182 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1993, allocations: 4 kB / 0.7182 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1994, allocations: 432 / 0.7182 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.1998, allocations: 48 kB / 0.7183 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1998, allocations: 4 kB / 0.7183 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.2001, allocations: 39.97 kB / 0.7183 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.2002, allocations: 4.188 kB / 0.7183 GB, free: 13.89 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 0.0001221/0.2003, allocations: 121.8 kB / 0.7184 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2003, allocations: 3.938 kB / 0.7184 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.2017, allocations: 237.1 kB / 0.7187 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2017, allocations: 0 / 0.7187 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2017, allocations: 7.938 kB / 0.7187 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2017, allocations: 0 / 0.7187 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.2033, allocations: 466.3 kB / 0.7191 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2033, allocations: 0 / 0.7191 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.2037, allocations: 47.98 kB / 0.7192 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2037, allocations: 3.984 kB / 0.7192 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2037, allocations: 4 kB / 0.7192 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2037, allocations: 0 / 0.7192 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2037, allocations: 0 / 0.7192 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.205, allocations: 307.3 kB / 0.7195 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.2051, allocations: 81.11 kB / 0.7195 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2051, allocations: 0 / 0.7195 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2054, allocations: 35.98 kB / 0.7196 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.2055, allocations: 11.98 kB / 0.7196 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2055, allocations: 0 / 0.7196 GB, free: 12.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.2055, allocations: 75.28 kB / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2055, allocations: 0 / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002527/0.2058, allocations: 12 kB / 0.7197 GB, free: 12.4 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 (5): * Single equations (assignments): 5 * 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.001713/0.2075, allocations: 0.8412 MB / 0.7205 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2088, allocations: 180.1 kB / 0.7207 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2088, allocations: 4.188 kB / 0.7207 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.2094, allocations: 91.89 kB / 0.7208 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.2096, allocations: 11.94 kB / 0.7208 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.211, allocations: 250.5 kB / 0.721 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2113, allocations: 0.6768 MB / 0.7217 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.2115, allocations: 28 kB / 0.7217 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/0.2115, allocations: 19.42 kB / 0.7217 GB, free: 10.21 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2115, allocations: 0 / 0.7217 GB, free: 10.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2347, allocations: 1.65 MB / 0.7233 GB, free: 8.715 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.002, allocations: 15.67 kB / 0.7233 GB, free: 8.703 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.742828156013275] Failed to read output from testmodel.py, exit status != 0: 8.06883020499663 8.086174628 7.893429715 Calling exit ...