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.001962/0.001962, allocations: 116.1 kB / 17.17 MB, free: 6 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.001537/0.001537, allocations: 209.5 kB / 20.13 MB, free: 3.055 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 / 253.5 MB, free: 15.1 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.9235/0.9235, allocations: 144.9 MB / 454.5 MB, free: 9.977 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",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.00189/0.00189, allocations: 69.58 kB / 0.6287 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1753, allocations: 87.84 MB / 0.7145 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001763/0.177, allocations: 0.5867 MB / 0.7151 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1786, allocations: 1.163 MB / 0.7162 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1786, allocations: 0 / 0.7162 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.1787, allocations: 0 / 0.7162 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.179, allocations: 23.91 kB / 0.7163 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.898e-06/0.179, allocations: 0 / 0.7163 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.601e-05/0.179, allocations: 11.88 kB / 0.7163 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.1791, allocations: 0 / 0.7163 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.536e-05/0.1791, allocations: 0 / 0.7163 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.583e-05/0.1791, allocations: 0 / 0.7163 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1792, allocations: 4 kB / 0.7163 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1793, allocations: 23.98 kB / 0.7163 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.1793, allocations: 7.922 kB / 0.7163 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.1793, allocations: 3.938 kB / 0.7163 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.92e-05/0.1794, allocations: 12.2 kB / 0.7163 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1794, allocations: 0 / 0.7163 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1794, allocations: 0 / 0.7163 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1794, allocations: 0 / 0.7163 GB, free: 9.805 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.0003763/0.1798, allocations: 323.5 kB / 0.7166 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1798, allocations: 8.031 kB / 0.7166 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.366e-05/0.1798, allocations: 8.125 kB / 0.7166 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.1799, allocations: 30.75 kB / 0.7167 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1799, allocations: 4.938 kB / 0.7167 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.18, allocations: 168.4 kB / 0.7168 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1801, allocations: 384 / 0.7168 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1801, allocations: 384 / 0.7168 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1802, allocations: 37.58 kB / 0.7169 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1802, allocations: 0 / 0.7169 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1802, allocations: 7.984 kB / 0.7169 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1802, allocations: 0 / 0.7169 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.1803, allocations: 12 kB / 0.7169 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1804, allocations: 145.7 kB / 0.717 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1806, allocations: 38.52 kB / 0.7171 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.1807, allocations: 12.94 kB / 0.7171 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.1808, allocations: 89.05 kB / 0.7172 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1809, allocations: 34.5 kB / 0.7172 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.1809, allocations: 4 kB / 0.7172 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004417/0.1853, allocations: 0.5716 MB / 0.7178 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1853, allocations: 55.41 kB / 0.7178 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.632e-05/0.1854, allocations: 89.86 kB / 0.7179 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1854, allocations: 25.7 kB / 0.7179 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.1854, allocations: 80.14 kB / 0.718 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1855, allocations: 23.81 kB / 0.718 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.1855, allocations: 17.72 kB / 0.718 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1857, allocations: 322.8 kB / 0.7183 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.1863, allocations: 75.95 kB / 0.7184 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.1868, allocations: 106.5 kB / 0.7185 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.188, allocations: 190.4 kB / 0.7187 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.188, allocations: 192 / 0.7187 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001273/0.1893, allocations: 213.5 kB / 0.7189 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1893, allocations: 16.05 kB / 0.7189 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1893, allocations: 4 kB / 0.7189 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1894, allocations: 0 / 0.7189 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.1898, allocations: 51.97 kB / 0.719 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1898, allocations: 0 / 0.719 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.1901, allocations: 39.98 kB / 0.719 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1901, allocations: 0 / 0.719 GB, free: 6.777 MB / 0.5294 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.0001014/0.1902, allocations: 121.8 kB / 0.7191 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1902, allocations: 3.938 kB / 0.7191 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.1916, allocations: 237.1 kB / 0.7194 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1916, allocations: 4 kB / 0.7194 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1916, allocations: 0 / 0.7194 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1916, allocations: 3.938 kB / 0.7194 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.1932, allocations: 458.3 kB / 0.7198 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1932, allocations: 0 / 0.7198 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.1936, allocations: 47.97 kB / 0.7199 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1936, allocations: 0 / 0.7199 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1936, allocations: 4 kB / 0.7199 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1936, allocations: 3.938 kB / 0.7199 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1936, allocations: 4 kB / 0.7199 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.1949, allocations: 311.3 kB / 0.7202 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.195, allocations: 77.11 kB / 0.7202 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.195, allocations: 0 / 0.7202 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.1954, allocations: 44.16 kB / 0.7203 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.301e-05/0.1954, allocations: 0 / 0.7203 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1954, allocations: 4 kB / 0.7203 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.1954, allocations: 79.28 kB / 0.7204 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1954, allocations: 4 kB / 0.7204 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002557/0.1957, allocations: 15.94 kB / 0.7204 GB, free: 5.277 MB / 0.5294 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.001776/0.1975, allocations: 0.8296 MB / 0.7212 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.1988, allocations: 183.9 kB / 0.7214 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1988, allocations: 0 / 0.7214 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.1994, allocations: 92.06 kB / 0.7214 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1996, allocations: 10.94 kB / 0.7215 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.201, allocations: 250.4 kB / 0.7217 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2013, allocations: 0.6768 MB / 0.7224 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.2015, allocations: 28 kB / 0.7224 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.2016, allocations: 11.44 kB / 0.7224 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2016, allocations: 0 / 0.7224 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.2199, allocations: 1.709 MB / 0.7241 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.444, allocations: 13.31 kB / 0.7241 GB, free: 1.578 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.228091189987026] Failed to read output from testmodel.py, exit status != 0: 8.568464277021121 8.595036193 8.411268612 Calling exit ...