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.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001466/0.001466, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.773 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.8956/0.8956, allocations: 145 MB / 457.4 MB, free: 15.26 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.00301/0.00301, allocations: 67.34 kB / 0.6331 GB, free: 6.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1885, allocations: 87.88 MB / 0.719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00218/0.1906, allocations: 0.5962 MB / 0.7195 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1923, allocations: 1.124 MB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.1923, allocations: 4 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.1923, allocations: 7.938 kB / 0.7206 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1926, allocations: 19.91 kB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.1926, allocations: 0 / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.827e-05/0.1926, allocations: 4 kB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1927, allocations: 0 / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.1927, allocations: 3.938 kB / 0.7207 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.048e-05/0.1927, allocations: 4 kB / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.1927, allocations: 0 / 0.7207 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1928, allocations: 23.91 kB / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-06/0.1928, allocations: 4 kB / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.087e-05/0.1928, allocations: 0 / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.184e-05/0.1929, allocations: 19.92 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1929, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1929, allocations: 0 / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1929, allocations: 0 / 0.7207 GB, free: 12.96 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.0002799/0.1932, allocations: 234.4 kB / 0.7209 GB, free: 12.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1932, allocations: 12.03 kB / 0.721 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.1933, allocations: 34.73 kB / 0.721 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.006e-05/0.1933, allocations: 0.9375 kB / 0.721 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.1934, allocations: 110.5 kB / 0.7211 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1934, allocations: 8.375 kB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1934, allocations: 384 / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.174e-05/0.1935, allocations: 37.81 kB / 0.7211 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1935, allocations: 0 / 0.7211 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1935, allocations: 4 kB / 0.7211 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.1935, allocations: 0 / 0.7211 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.1936, allocations: 7.984 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.1937, allocations: 128.8 kB / 0.7213 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.1939, allocations: 30.52 kB / 0.7213 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.1939, allocations: 16.94 kB / 0.7213 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.194, allocations: 12 kB / 0.7213 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1941, allocations: 38.44 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.1941, allocations: 0 / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004197/0.1983, allocations: 0.5715 MB / 0.7219 GB, free: 11.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1983, allocations: 55.41 kB / 0.722 GB, free: 11.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.1984, allocations: 89.86 kB / 0.7221 GB, free: 11.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1984, allocations: 25.7 kB / 0.7221 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.1984, allocations: 80.14 kB / 0.7222 GB, free: 11.31 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1985, allocations: 19.89 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1985, allocations: 21.72 kB / 0.7222 GB, free: 11.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1986, allocations: 310.8 kB / 0.7225 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.1992, allocations: 79.95 kB / 0.7226 GB, free: 10.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.1999, allocations: 110.5 kB / 0.7227 GB, free: 10.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.201, allocations: 190.5 kB / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.201, allocations: 192 / 0.7229 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001245/0.2023, allocations: 217.5 kB / 0.7231 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2023, allocations: 6.344 kB / 0.7231 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2023, allocations: 4 kB / 0.7231 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2023, allocations: 7.984 kB / 0.7231 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.2027, allocations: 51.94 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2027, allocations: 4 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.2031, allocations: 35.98 kB / 0.7232 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2031, allocations: 4 kB / 0.7232 GB, free: 10.23 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 9.416e-05/0.2032, allocations: 109.8 kB / 0.7233 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.2032, allocations: 11.94 kB / 0.7233 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.2046, allocations: 237.1 kB / 0.7235 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2046, allocations: 0 / 0.7235 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2046, allocations: 0 / 0.7235 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2046, allocations: 4 kB / 0.7235 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.2061, allocations: 433.4 kB / 0.7239 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2061, allocations: 0 / 0.7239 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.2065, allocations: 51.97 kB / 0.724 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2065, allocations: 0 / 0.724 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2065, allocations: 4 kB / 0.724 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2065, allocations: 0 / 0.724 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2065, allocations: 0 / 0.724 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.2078, allocations: 307.3 kB / 0.7243 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.2078, allocations: 0 / 0.7243 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2078, allocations: 0 / 0.7243 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.2082, allocations: 44.16 kB / 0.7243 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.2082, allocations: 4 kB / 0.7243 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2082, allocations: 8 kB / 0.7243 GB, free: 8.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.2083, allocations: 79.28 kB / 0.7244 GB, free: 8.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2083, allocations: 3.938 kB / 0.7244 GB, free: 8.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002418/0.2085, allocations: 8 kB / 0.7244 GB, free: 8.867 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.001653/0.2101, allocations: 0.8412 MB / 0.7253 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.2114, allocations: 172 kB / 0.7254 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2114, allocations: 4.062 kB / 0.7254 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000592/0.212, allocations: 87.89 kB / 0.7255 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.2122, allocations: 4 kB / 0.7255 GB, free: 7.734 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2135, allocations: 258.3 kB / 0.7258 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.963e-05/0.2136, allocations: 55.36 kB / 0.7258 GB, free: 7.367 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.2138, allocations: 31.98 kB / 0.7258 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.2139, allocations: 15.86 kB / 0.7259 GB, free: 7.32 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2139, allocations: 0 / 0.7259 GB, free: 7.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2418, allocations: 2.153 MB / 0.728 GB, free: 5.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.26, allocations: 7.047 kB / 0.728 GB, free: 5.309 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.907745561096817] Failed to read output from testmodel.py, exit status != 0: 11.365079835057259 11.380256732 11.184110181 Calling exit ...