Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001233/0.001233, allocations: 110 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.001308/0.001308, allocations: 185.8 kB / 22.23 MB, free: 5.16 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.336/1.336, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 292.9 kB / 306.6 MB, free: 8.324 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.183/1.183, allocations: 180.9 MB / 0.53 GB, free: 14.45 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives")
translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 105.6 kB / 0.7309 GB, free: 38.9 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1695, allocations: 94.2 MB / 0.8229 GB, free: 1.785 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00169/0.1712, allocations: 0.5989 MB / 0.8235 GB, free: 1.188 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001415/0.1726, allocations: 1.12 MB / 0.8246 GB, free: 52 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.1726, allocations: 0 / 0.8246 GB, free: 52 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.1726, allocations: 0 / 0.8246 GB, free: 52 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1729, allocations: 23.86 kB / 0.8246 GB, free: 28 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 3.407e-06/0.1729, allocations: 0 / 0.8246 GB, free: 28 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 4.016e-05/0.1729, allocations: 11.94 kB / 0.8246 GB, free: 16 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1729, allocations: 3.984 kB / 0.8246 GB, free: 12 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.221e-05/0.173, allocations: 0 / 0.8246 GB, free: 12 kB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.296e-05/0.173, allocations: 8 kB / 0.8246 GB, free: 4 kB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 6.341e-06/0.173, allocations: 0 / 0.8246 GB, free: 4 kB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1731, allocations: 20 kB / 0.8246 GB, free: 15.98 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.56e-06/0.1731, allocations: 3.906 kB / 0.8246 GB, free: 15.98 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 1.316e-05/0.1731, allocations: 3.938 kB / 0.8246 GB, free: 15.98 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 7.472e-05/0.1732, allocations: 15.92 kB / 0.8246 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1732, allocations: 0 / 0.8246 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.163e-06/0.1732, allocations: 0 / 0.8246 GB, free: 15.96 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.829e-06/0.1732, allocations: 4 kB / 0.8246 GB, free: 15.96 MB / 0.5762 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.0002636/0.1735, allocations: 242.4 kB / 0.8249 GB, free: 15.69 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1735, allocations: 8.625 kB / 0.8249 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1735, allocations: 4.938 kB / 0.8249 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 7.203e-05/0.1736, allocations: 106.5 kB / 0.825 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1736, allocations: 384 / 0.825 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1736, allocations: 4.328 kB / 0.825 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.1737, allocations: 41.94 kB / 0.825 GB, free: 15.5 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1737, allocations: 0 / 0.825 GB, free: 15.5 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1737, allocations: 8 kB / 0.825 GB, free: 15.49 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1737, allocations: 0 / 0.825 GB, free: 15.49 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.1738, allocations: 8 kB / 0.825 GB, free: 15.48 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1739, allocations: 124.8 kB / 0.8252 GB, free: 15.32 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1741, allocations: 26.61 kB / 0.8252 GB, free: 15.29 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.1741, allocations: 16.8 kB / 0.8252 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.1742, allocations: 4 kB / 0.8252 GB, free: 15.26 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1742, allocations: 42.52 kB / 0.8253 GB, free: 15.21 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 2.866e-06/0.1742, allocations: 7.984 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=5): time 0.004263/0.1785, allocations: 0.5716 MB / 0.8258 GB, free: 14.62 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1785, allocations: 51.41 kB / 0.8259 GB, free: 14.56 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.1786, allocations: 89.86 kB / 0.826 GB, free: 14.46 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1786, allocations: 25.7 kB / 0.826 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.1786, allocations: 89.56 kB / 0.8261 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1787, allocations: 23.8 kB / 0.8261 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.1787, allocations: 25.7 kB / 0.8261 GB, free: 14.29 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001299/0.1789, allocations: 310.8 kB / 0.8264 GB, free: 13.98 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.1795, allocations: 79.95 kB / 0.8265 GB, free: 13.9 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.1801, allocations: 102.5 kB / 0.8266 GB, free: 13.79 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.1813, allocations: 190.4 kB / 0.8268 GB, free: 13.59 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1813, allocations: 0 / 0.8268 GB, free: 13.59 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.001337/0.1826, allocations: 217.5 kB / 0.827 GB, free: 13.38 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1826, allocations: 12.06 kB / 0.827 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1826, allocations: 0 / 0.827 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1827, allocations: 0 / 0.827 GB, free: 13.36 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.1831, allocations: 51.97 kB / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1831, allocations: 0 / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.1834, allocations: 43.97 kB / 0.8271 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1834, allocations: 0 / 0.8271 GB, free: 13.27 MB / 0.5762 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.0001021/0.1835, allocations: 118.4 kB / 0.8272 GB, free: 13.14 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1835, allocations: 3.938 kB / 0.8272 GB, free: 13.14 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.1849, allocations: 233.1 kB / 0.8274 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1849, allocations: 4 kB / 0.8274 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1849, allocations: 0 / 0.8274 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1849, allocations: 0 / 0.8274 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.1866, allocations: 429.4 kB / 0.8278 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1866, allocations: 0 / 0.8278 GB, free: 12.43 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.187, allocations: 55.97 kB / 0.8279 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.187, allocations: 0 / 0.8279 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.187, allocations: 0 / 0.8279 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.187, allocations: 320 / 0.8279 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.187, allocations: 0 / 0.8279 GB, free: 12.38 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.1884, allocations: 315.3 kB / 0.8282 GB, free: 12.05 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.1884, allocations: 3.938 kB / 0.8282 GB, free: 12.05 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1884, allocations: 3.984 kB / 0.8282 GB, free: 12.04 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.1888, allocations: 39.98 kB / 0.8282 GB, free: 12 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1888, allocations: 4 kB / 0.8282 GB, free: 12 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.1889, allocations: 7.984 kB / 0.8282 GB, free: 11.99 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.995e-05/0.1889, allocations: 75.28 kB / 0.8283 GB, free: 11.92 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.1889, allocations: 4 kB / 0.8283 GB, free: 11.91 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002659/0.1892, allocations: 8 kB / 0.8283 GB, free: 11.91 MB / 0.5762 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.000226/0.1894, allocations: 99.25 kB / 0.8284 GB, free: 11.8 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001335/0.1907, allocations: 183.8 kB / 0.8286 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1907, allocations: 0 / 0.8286 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.1914, allocations: 92.08 kB / 0.8287 GB, free: 11.53 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1916, allocations: 7.875 kB / 0.8287 GB, free: 11.52 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1928, allocations: 228.4 kB / 0.8289 GB, free: 11.27 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1932, allocations: 0.6807 MB / 0.8296 GB, free: 10.57 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001788/0.1933, allocations: 28 kB / 0.8296 GB, free: 10.54 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.1934, allocations: 7.438 kB / 0.8296 GB, free: 10.53 MB / 0.5762 GB
Notification: Performance of SimCode: time 4.51e-07/0.1934, allocations: 0 / 0.8296 GB, free: 10.53 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003331/0.1967, allocations: 0.8372 MB / 0.8304 GB, free: 9.703 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.6345680970698595]
Failed to read output from testmodel.py, exit status != 0:
0.20384314749389887 0.217852275 0.041872891
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2bce3817b0>