Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.00121/0.00121, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001551/0.001551, allocations: 188.2 kB / 22.23 MB, free: 5.094 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.374/1.374, allocations: 225.6 MB / 251 MB, free: 13.19 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.8888/0.8888, allocations: 145 MB / 451.3 MB, free: 5.484 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 68.64 kB / 0.6253 GB, free: 15.51 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1877, allocations: 86.7 MB / 0.71 GB, free: 8.824 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002579/0.1903, allocations: 1.482 MB / 0.7114 GB, free: 7.332 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0009766/0.1913, allocations: 0.5696 MB / 0.712 GB, free: 6.754 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.1913, allocations: 0 / 0.712 GB, free: 6.754 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.1913, allocations: 0 / 0.712 GB, free: 6.754 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.1914, allocations: 7.938 kB / 0.712 GB, free: 6.746 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1916, allocations: 51.81 kB / 0.7121 GB, free: 6.695 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.1917, allocations: 23.94 kB / 0.7121 GB, free: 6.672 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.131e-05/0.1918, allocations: 3.984 kB / 0.7121 GB, free: 6.668 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.1919, allocations: 23.86 kB / 0.7121 GB, free: 6.645 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.1919, allocations: 15.92 kB / 0.7121 GB, free: 6.629 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.192, allocations: 0 / 0.7121 GB, free: 6.629 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1921, allocations: 55.95 kB / 0.7122 GB, free: 6.574 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.1921, allocations: 4 kB / 0.7122 GB, free: 6.57 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1921, allocations: 15.88 kB / 0.7122 GB, free: 6.555 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.1922, allocations: 71.73 kB / 0.7123 GB, free: 6.484 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1922, allocations: 0 / 0.7123 GB, free: 6.484 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.162e-06/0.1923, allocations: 0 / 0.7123 GB, free: 6.484 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 4.468e-06/0.1923, allocations: 3.938 kB / 0.7123 GB, free: 6.48 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.0004207/0.1927, allocations: 274.1 kB / 0.7125 GB, free: 6.184 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1927, allocations: 12.03 kB / 0.7125 GB, free: 6.172 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.1927, allocations: 0.9375 kB / 0.7125 GB, free: 6.172 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1928, allocations: 114.5 kB / 0.7127 GB, free: 6.035 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1929, allocations: 4.359 kB / 0.7127 GB, free: 6.031 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1929, allocations: 8.375 kB / 0.7127 GB, free: 6.023 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.193, allocations: 49.94 kB / 0.7127 GB, free: 5.969 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.193, allocations: 0 / 0.7127 GB, free: 5.969 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.193, allocations: 0 / 0.7127 GB, free: 5.969 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.193, allocations: 0 / 0.7127 GB, free: 5.969 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.1931, allocations: 19.98 kB / 0.7127 GB, free: 5.949 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1935, allocations: 224 kB / 0.7129 GB, free: 5.688 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.838e-05/0.1936, allocations: 38.52 kB / 0.713 GB, free: 5.641 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1936, allocations: 12.91 kB / 0.713 GB, free: 5.625 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006407/0.1943, allocations: 95.88 kB / 0.7131 GB, free: 5.531 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1943, allocations: 38.55 kB / 0.7131 GB, free: 5.484 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.1943, allocations: 0 / 0.7131 GB, free: 5.484 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2): time 0.0002515/0.1945, allocations: 57.69 kB / 0.7132 GB, free: 5.422 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1946, allocations: 51.41 kB / 0.7132 GB, free: 5.359 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.1947, allocations: 117.7 kB / 0.7133 GB, free: 5.234 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1947, allocations: 25.7 kB / 0.7134 GB, free: 5.203 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.1947, allocations: 96.2 kB / 0.7135 GB, free: 5.105 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1948, allocations: 7.953 kB / 0.7135 GB, free: 5.098 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1948, allocations: 13.72 kB / 0.7135 GB, free: 5.078 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.000135/0.1949, allocations: 314.8 kB / 0.7138 GB, free: 4.762 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.195, allocations: 7.984 kB / 0.7138 GB, free: 4.754 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.195, allocations: 8 kB / 0.7138 GB, free: 4.746 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.1951, allocations: 36.84 kB / 0.7138 GB, free: 4.707 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1951, allocations: 0 / 0.7138 GB, free: 4.707 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001337/0.1952, allocations: 53.67 kB / 0.7139 GB, free: 4.648 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1952, allocations: 4 kB / 0.7139 GB, free: 4.645 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1953, allocations: 0 / 0.7139 GB, free: 4.645 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1953, allocations: 0 / 0.7139 GB, free: 4.645 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.1953, allocations: 7.938 kB / 0.7139 GB, free: 4.637 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1953, allocations: 4.312 kB / 0.7139 GB, free: 4.633 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.1954, allocations: 7.922 kB / 0.7139 GB, free: 4.625 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.1954, allocations: 4.031 kB / 0.7139 GB, free: 4.621 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.321e-05/0.1955, allocations: 121.8 kB / 0.714 GB, free: 4.492 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1955, allocations: 3.953 kB / 0.714 GB, free: 4.488 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.1957, allocations: 65.28 kB / 0.7141 GB, free: 4.414 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1957, allocations: 7.984 kB / 0.7141 GB, free: 4.406 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1957, allocations: 3.938 kB / 0.7141 GB, free: 4.402 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1957, allocations: 0 / 0.7141 GB, free: 4.402 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1958, allocations: 132.7 kB / 0.7142 GB, free: 4.23 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1958, allocations: 8.031 kB / 0.7142 GB, free: 4.223 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.1959, allocations: 8 kB / 0.7142 GB, free: 4.215 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1959, allocations: 3.938 kB / 0.7142 GB, free: 4.211 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1959, allocations: 0 / 0.7142 GB, free: 4.211 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1959, allocations: 0 / 0.7142 GB, free: 4.211 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1959, allocations: 0 / 0.7142 GB, free: 4.211 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.1961, allocations: 155.5 kB / 0.7144 GB, free: 4.043 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.1961, allocations: 7.984 kB / 0.7144 GB, free: 4.035 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1961, allocations: 0 / 0.7144 GB, free: 4.035 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.1962, allocations: 4 kB / 0.7144 GB, free: 4.031 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1962, allocations: 3.984 kB / 0.7144 GB, free: 4.027 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1962, allocations: 3.938 kB / 0.7144 GB, free: 4.023 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 5.704e-05/0.1962, allocations: 87.28 kB / 0.7145 GB, free: 3.938 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 6e-08/0.1962, allocations: 0 / 0.7145 GB, free: 3.938 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002348/0.1965, allocations: 19.92 kB / 0.7145 GB, free: 3.918 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.0001547/0.1966, allocations: 107.2 kB / 0.7146 GB, free: 3.805 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0001544/0.1968, allocations: 35.91 kB / 0.7147 GB, free: 3.77 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1968, allocations: 0 / 0.7147 GB, free: 3.77 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 4.637e-05/0.1968, allocations: 8 kB / 0.7147 GB, free: 3.762 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.197, allocations: 3.938 kB / 0.7147 GB, free: 3.758 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.1973, allocations: 126.8 kB / 0.7148 GB, free: 3.609 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1976, allocations: 0.6847 MB / 0.7155 GB, free: 2.898 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 2.116e-05/0.1977, allocations: 0 / 0.7155 GB, free: 2.898 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.1977, allocations: 15.42 kB / 0.7155 GB, free: 2.883 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.9e-07/0.1977, allocations: 0 / 0.7155 GB, free: 2.883 MB / 0.5294 GB
Notification: Performance of Templates: time 0.002994/0.2007, allocations: 0.7022 MB / 0.7162 GB, free: 2.184 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.429332329891622]
Failed to read output from testmodel.py, exit status != 0:
0.2089705616235733 0.22193879799999996 0.026756374000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe3e4ebd7b0>