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.001835/0.001835, allocations: 110.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.00226/0.00226, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.992 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 1.023/1.023, allocations: 145 MB / 457.4 MB, free: 15.58 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.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.002265/0.002265, allocations: 69.83 kB / 0.6332 GB, free: 7.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1777, allocations: 87.89 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001953/0.1796, allocations: 0.5913 MB / 0.7196 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1813, allocations: 1.174 MB / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.1814, allocations: 0 / 0.7208 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.1814, allocations: 7.938 kB / 0.7208 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.1816, allocations: 23.91 kB / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.1816, allocations: 0 / 0.7208 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.1817, allocations: 4 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.1817, allocations: 0 / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.1817, allocations: 0 / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.596e-05/0.1818, allocations: 3.938 kB / 0.7208 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1818, allocations: 4 kB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1819, allocations: 23.92 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-06/0.1819, allocations: 3.984 kB / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.1819, allocations: 0 / 0.7208 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.707e-05/0.182, allocations: 11.98 kB / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.182, allocations: 0 / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.182, allocations: 0 / 0.7208 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.182, allocations: 0 / 0.7208 GB, free: 13.55 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.0003173/0.1823, allocations: 250.3 kB / 0.7211 GB, free: 13.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1824, allocations: 8.031 kB / 0.7211 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.1824, allocations: 34.69 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.1825, allocations: 4.938 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.1826, allocations: 110.5 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1826, allocations: 4.375 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1826, allocations: 384 / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1827, allocations: 37.83 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1827, allocations: 4 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.1827, allocations: 0 / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1827, allocations: 0 / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/0.1828, allocations: 11.98 kB / 0.7213 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1829, allocations: 120.8 kB / 0.7214 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1831, allocations: 34.55 kB / 0.7214 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.1832, allocations: 12.86 kB / 0.7214 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.1833, allocations: 16.06 kB / 0.7215 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.1833, allocations: 34.5 kB / 0.7215 GB, free: 12.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1833, allocations: 0 / 0.7215 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004648/0.188, allocations: 0.5754 MB / 0.7221 GB, free: 12.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.188, allocations: 55.41 kB / 0.7221 GB, free: 12.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.1881, allocations: 89.86 kB / 0.7222 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1881, allocations: 25.7 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1881, allocations: 80.14 kB / 0.7223 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.1882, allocations: 23.88 kB / 0.7223 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.1883, allocations: 13.72 kB / 0.7223 GB, free: 11.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.1884, allocations: 314.8 kB / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.1891, allocations: 91.83 kB / 0.7227 GB, free: 11.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/0.1898, allocations: 106.5 kB / 0.7228 GB, free: 11.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.191, allocations: 186.5 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.191, allocations: 0 / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001312/0.1923, allocations: 217.5 kB / 0.7232 GB, free: 10.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1923, allocations: 6.031 kB / 0.7232 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1923, allocations: 0 / 0.7232 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1924, allocations: 0 / 0.7232 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.1928, allocations: 55.94 kB / 0.7233 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1928, allocations: 7.922 kB / 0.7233 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.1931, allocations: 39.98 kB / 0.7233 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1931, allocations: 4 kB / 0.7233 GB, free: 10.81 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.0001064/0.1932, allocations: 109.8 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1933, allocations: 7.938 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.1947, allocations: 241.1 kB / 0.7237 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1947, allocations: 0 / 0.7237 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1947, allocations: 0 / 0.7237 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1947, allocations: 0 / 0.7237 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.1963, allocations: 429.7 kB / 0.7241 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1963, allocations: 64 / 0.7241 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.1966, allocations: 59.91 kB / 0.7241 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1966, allocations: 0 / 0.7241 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.1967, allocations: 4 kB / 0.7241 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1967, allocations: 0 / 0.7241 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1967, allocations: 0 / 0.7241 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.198, allocations: 307.4 kB / 0.7244 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.198, allocations: 0 / 0.7244 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1981, allocations: 4 kB / 0.7244 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.1984, allocations: 35.98 kB / 0.7245 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.1985, allocations: 7.984 kB / 0.7245 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1985, allocations: 4 kB / 0.7245 GB, free: 9.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.1985, allocations: 75.28 kB / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1985, allocations: 0 / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002593/0.1988, allocations: 11.94 kB / 0.7246 GB, free: 9.457 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.001739/0.2005, allocations: 0.8451 MB / 0.7254 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.2018, allocations: 175.8 kB / 0.7255 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2018, allocations: 0 / 0.7255 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.2024, allocations: 88.14 kB / 0.7256 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2026, allocations: 4 kB / 0.7256 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.2041, allocations: 254.3 kB / 0.7259 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.2044, allocations: 0.6729 MB / 0.7265 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.2046, allocations: 31.98 kB / 0.7266 GB, free: 7.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.2047, allocations: 15.44 kB / 0.7266 GB, free: 7.285 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.2047, allocations: 3.938 kB / 0.7266 GB, free: 7.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.2349, allocations: 1.751 MB / 0.7283 GB, free: 5.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.12, allocations: 6.875 kB / 0.7283 GB, free: 5.668 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 14.934945767046884] Failed to read output from testmodel.py, exit status != 0: 11.22655888996087 11.249432108 11.06273437 Calling exit ...