Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 188 kB / 22.23 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 251 MB, free: 13.01 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.8645/0.8645, allocations: 145 MB / 451.2 MB, free: 5.441 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 60.03 kB / 0.6253 GB, free: 15.62 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1679, allocations: 86.71 MB / 0.71 GB, free: 8.91 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.00313/0.1711, allocations: 1.455 MB / 0.7114 GB, free: 7.445 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0008323/0.1719, allocations: 471.8 kB / 0.7119 GB, free: 6.977 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.1719, allocations: 0 / 0.7119 GB, free: 6.977 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.172, allocations: 0 / 0.7119 GB, free: 6.977 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.172, allocations: 7.922 kB / 0.7119 GB, free: 6.969 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.1722, allocations: 27.92 kB / 0.7119 GB, free: 6.941 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.1723, allocations: 35.84 kB / 0.7119 GB, free: 6.906 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.1724, allocations: 4 kB / 0.7119 GB, free: 6.902 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.1724, allocations: 8 kB / 0.712 GB, free: 6.895 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.172e-05/0.1725, allocations: 15.92 kB / 0.712 GB, free: 6.879 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1725, allocations: 0 / 0.712 GB, free: 6.879 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.132e-05/0.1726, allocations: 23.92 kB / 0.712 GB, free: 6.855 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.1726, allocations: 4 kB / 0.712 GB, free: 6.852 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.1726, allocations: 11.91 kB / 0.712 GB, free: 6.84 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1727, allocations: 35.84 kB / 0.712 GB, free: 6.805 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1727, allocations: 0 / 0.712 GB, free: 6.805 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 2.334e-06/0.1727, allocations: 4 kB / 0.712 GB, free: 6.801 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 5.29e-06/0.1727, allocations: 0 / 0.712 GB, free: 6.801 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.0004896/0.1732, allocations: 266.3 kB / 0.7123 GB, free: 6.512 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1733, allocations: 11.97 kB / 0.7123 GB, free: 6.5 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1733, allocations: 0.9375 kB / 0.7123 GB, free: 6.5 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1734, allocations: 114.5 kB / 0.7124 GB, free: 6.363 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1734, allocations: 384 / 0.7124 GB, free: 6.363 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.1735, allocations: 8.375 kB / 0.7124 GB, free: 6.355 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.1736, allocations: 57.92 kB / 0.7125 GB, free: 6.293 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1737, allocations: 4 kB / 0.7125 GB, free: 6.289 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1737, allocations: 0 / 0.7125 GB, free: 6.289 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1737, allocations: 0 / 0.7125 GB, free: 6.289 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1738, allocations: 27.97 kB / 0.7125 GB, free: 6.262 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.1742, allocations: 224 kB / 0.7127 GB, free: 6 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1744, allocations: 38.56 kB / 0.7128 GB, free: 5.953 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1745, allocations: 24.84 kB / 0.7128 GB, free: 5.926 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.9e-05/0.1746, allocations: 7.984 kB / 0.7128 GB, free: 5.918 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1746, allocations: 30.56 kB / 0.7128 GB, free: 5.879 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1746, allocations: 0 / 0.7128 GB, free: 5.879 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2): time 0.0003629/0.1749, allocations: 89.58 kB / 0.7129 GB, free: 5.785 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.175, allocations: 55.41 kB / 0.713 GB, free: 5.719 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.1751, allocations: 97.86 kB / 0.7131 GB, free: 5.613 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1751, allocations: 29.69 kB / 0.7131 GB, free: 5.578 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.1751, allocations: 84.09 kB / 0.7132 GB, free: 5.492 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1752, allocations: 15.88 kB / 0.7132 GB, free: 5.477 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1752, allocations: 13.72 kB / 0.7132 GB, free: 5.457 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001363/0.1753, allocations: 319 kB / 0.7135 GB, free: 5.137 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.1754, allocations: 23.91 kB / 0.7135 GB, free: 5.113 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.1755, allocations: 11.98 kB / 0.7135 GB, free: 5.102 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1757, allocations: 40.77 kB / 0.7136 GB, free: 5.059 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1757, allocations: 0 / 0.7136 GB, free: 5.059 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.1759, allocations: 73.72 kB / 0.7136 GB, free: 4.98 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1759, allocations: 4 kB / 0.7136 GB, free: 4.977 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1759, allocations: 0 / 0.7136 GB, free: 4.977 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1759, allocations: 0 / 0.7136 GB, free: 4.977 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.176, allocations: 11.98 kB / 0.7137 GB, free: 4.965 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.176, allocations: 0 / 0.7137 GB, free: 4.965 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.176, allocations: 7.938 kB / 0.7137 GB, free: 4.957 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.176, allocations: 8.016 kB / 0.7137 GB, free: 4.949 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (2):
 * Single equations (assignments): 2
 * 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.216e-05/0.1761, allocations: 121.8 kB / 0.7138 GB, free: 4.82 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.1761, allocations: 0 / 0.7138 GB, free: 4.82 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.1764, allocations: 72.97 kB / 0.7139 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1764, allocations: 256 / 0.7139 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1764, allocations: 0 / 0.7139 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1764, allocations: 4 kB / 0.7139 GB, free: 4.734 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.1765, allocations: 140.6 kB / 0.714 GB, free: 4.555 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1765, allocations: 0 / 0.714 GB, free: 4.555 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.1766, allocations: 8 kB / 0.714 GB, free: 4.547 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1766, allocations: 0 / 0.714 GB, free: 4.547 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1766, allocations: 0 / 0.714 GB, free: 4.547 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1766, allocations: 3.984 kB / 0.714 GB, free: 4.543 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1766, allocations: 0 / 0.714 GB, free: 4.543 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1769, allocations: 175.3 kB / 0.7142 GB, free: 4.355 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1769, allocations: 7.984 kB / 0.7142 GB, free: 4.348 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1769, allocations: 3.938 kB / 0.7142 GB, free: 4.344 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.1769, allocations: 4 kB / 0.7142 GB, free: 4.34 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.177, allocations: 7.984 kB / 0.7142 GB, free: 4.332 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.177, allocations: 0 / 0.7142 GB, free: 4.332 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 5.242e-05/0.177, allocations: 79.28 kB / 0.7143 GB, free: 4.254 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 1e-07/0.177, allocations: 4 kB / 0.7143 GB, free: 4.25 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002121/0.1773, allocations: 8.031 kB / 0.7143 GB, free: 4.242 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 (2):
 * Single equations (assignments): 2
 * 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.0001447/0.1774, allocations: 103.2 kB / 0.7144 GB, free: 4.129 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0002238/0.1776, allocations: 39.91 kB / 0.7144 GB, free: 4.09 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1776, allocations: 0 / 0.7144 GB, free: 4.09 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.1777, allocations: 15.98 kB / 0.7144 GB, free: 4.074 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.178, allocations: 21.92 kB / 0.7145 GB, free: 4.055 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.1783, allocations: 105.5 kB / 0.7146 GB, free: 3.926 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1786, allocations: 0.6729 MB / 0.7152 GB, free: 3.227 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 2.479e-05/0.1786, allocations: 7.984 kB / 0.7152 GB, free: 3.219 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.1786, allocations: 7.438 kB / 0.7152 GB, free: 3.211 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.9e-07/0.1786, allocations: 0 / 0.7152 GB, free: 3.211 MB / 0.5294 GB
Notification: Performance of Templates: time 0.002952/0.1816, allocations: 0.576 MB / 0.7158 GB, free: 2.641 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.329713572748005]
Failed to read output from testmodel.py, exit status != 0:
0.1891797287389636 0.204510616 0.028739303
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5b927617b0>