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.001452/0.001452, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001627/0.001627, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.321/1.321, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.8566/0.8566, allocations: 145 MB / 458.2 MB, free: 15.54 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.002/0.002, allocations: 70.95 kB / 0.6344 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1498, allocations: 87.9 MB / 0.7203 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001788/0.1516, allocations: 0.5872 MB / 0.7208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1531, allocations: 1.174 MB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.1532, allocations: 0 / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.098e-05/0.1532, allocations: 0 / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1534, allocations: 19.92 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.1534, allocations: 3.938 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.144e-05/0.1534, allocations: 4 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.1535, allocations: 0 / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.1535, allocations: 0 / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.1535, allocations: 15.92 kB / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.1535, allocations: 0 / 0.722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1536, allocations: 19.98 kB / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.1536, allocations: 3.938 kB / 0.722 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.1536, allocations: 3.984 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.916e-05/0.1537, allocations: 11.92 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1537, allocations: 4 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1537, allocations: 0 / 0.7221 GB, free: 13.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1537, allocations: 3.984 kB / 0.7221 GB, free: 13.05 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.0002763/0.154, allocations: 242.4 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.154, allocations: 8.031 kB / 0.7223 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.154, allocations: 4.938 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.1541, allocations: 106.5 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1541, allocations: 384 / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.1542, allocations: 4.312 kB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.1542, allocations: 38.02 kB / 0.7225 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1543, allocations: 4 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1543, allocations: 0 / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1543, allocations: 0 / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.1543, allocations: 15.92 kB / 0.7225 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1544, allocations: 120.8 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1546, allocations: 34.59 kB / 0.7226 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.1546, allocations: 8.859 kB / 0.7226 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.1547, allocations: 12.08 kB / 0.7226 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1548, allocations: 34.5 kB / 0.7227 GB, free: 12.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1548, allocations: 4 kB / 0.7227 GB, free: 12.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004212/0.159, allocations: 0.5754 MB / 0.7232 GB, free: 11.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.159, allocations: 51.41 kB / 0.7233 GB, free: 11.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.1591, allocations: 93.86 kB / 0.7234 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1591, allocations: 25.7 kB / 0.7234 GB, free: 11.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.1591, allocations: 84.08 kB / 0.7235 GB, free: 11.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1592, allocations: 11.91 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.1592, allocations: 25.7 kB / 0.7235 GB, free: 11.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1594, allocations: 310.8 kB / 0.7238 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/0.1599, allocations: 83.95 kB / 0.7239 GB, free: 11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.1605, allocations: 102.5 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.1616, allocations: 186.5 kB / 0.7242 GB, free: 10.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1616, allocations: 7.875 kB / 0.7242 GB, free: 10.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001194/0.1628, allocations: 217.5 kB / 0.7244 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1628, allocations: 8.062 kB / 0.7244 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1628, allocations: 0 / 0.7244 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1629, allocations: 0 / 0.7244 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.1632, allocations: 55.97 kB / 0.7245 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1632, allocations: 0 / 0.7245 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.1636, allocations: 43.97 kB / 0.7245 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1636, allocations: 3.984 kB / 0.7245 GB, free: 10.37 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 8.801e-05/0.1637, allocations: 109.8 kB / 0.7246 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.1637, allocations: 7.938 kB / 0.7246 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.165, allocations: 241.1 kB / 0.7248 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.165, allocations: 3.984 kB / 0.7248 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.165, allocations: 4.188 kB / 0.7248 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.165, allocations: 0 / 0.7248 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1664, allocations: 429.5 kB / 0.7253 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1664, allocations: 0 / 0.7253 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.1668, allocations: 55.91 kB / 0.7253 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1668, allocations: 0 / 0.7253 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1668, allocations: 0 / 0.7253 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1668, allocations: 0 / 0.7253 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1668, allocations: 0 / 0.7253 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.168, allocations: 311.4 kB / 0.7256 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.168, allocations: 0 / 0.7256 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.168, allocations: 4 kB / 0.7256 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.1683, allocations: 35.98 kB / 0.7256 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.1684, allocations: 7.984 kB / 0.7257 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.1684, allocations: 0 / 0.7257 GB, free: 9.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.1684, allocations: 75.28 kB / 0.7257 GB, free: 9.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1684, allocations: 4 kB / 0.7257 GB, free: 9.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002513/0.1687, allocations: 15.94 kB / 0.7257 GB, free: 9.004 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.0001593/0.1688, allocations: 111.2 kB / 0.7258 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.17, allocations: 175.9 kB / 0.726 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.17, allocations: 0 / 0.726 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.1706, allocations: 92.02 kB / 0.7261 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1708, allocations: 8.688 kB / 0.7261 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1719, allocations: 242.5 kB / 0.7263 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1721, allocations: 0.6768 MB / 0.727 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.1722, allocations: 11.42 kB / 0.727 GB, free: 7.629 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.1722, allocations: 0 / 0.727 GB, free: 7.629 MB / 0.545 GB Notification: Performance of Templates: time 0.002611/0.1748, allocations: 1.119 MB / 0.7281 GB, free: 6.516 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.022195222089067] Failed to read output from testmodel.py, exit status != 0: 0.18304543709382415 0.19689899200000002 0.04030592 Calling exit ...