Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.001796/0.001796, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001536/0.001536, allocations: 190.5 kB / 22.23 MB, free: 5.133 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.384/1.384, allocations: 225.6 MB / 251 MB, free: 13.05 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.8834/0.8834, 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 64.33 kB / 0.6253 GB, free: 15.52 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 86.72 MB / 0.71 GB, free: 8.793 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002947/0.1862, allocations: 1.544 MB / 0.7115 GB, free: 7.238 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0003859/0.1865, allocations: 116.5 kB / 0.7116 GB, free: 7.121 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.1866, allocations: 8 kB / 0.7116 GB, free: 7.113 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.1867, allocations: 7.922 kB / 0.7116 GB, free: 7.105 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 2.488e-05/0.1868, allocations: 7.875 kB / 0.7116 GB, free: 7.098 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.187, allocations: 23.97 kB / 0.7117 GB, free: 7.074 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1871, allocations: 59.83 kB / 0.7117 GB, free: 7.016 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1872, allocations: 15.98 kB / 0.7117 GB, free: 7 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.1873, allocations: 27.91 kB / 0.7118 GB, free: 6.973 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.1874, allocations: 31.86 kB / 0.7118 GB, free: 6.941 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1874, allocations: 4 kB / 0.7118 GB, free: 6.938 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.1875, allocations: 11.98 kB / 0.7118 GB, free: 6.926 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.1875, allocations: 23.92 kB / 0.7118 GB, free: 6.902 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.1875, allocations: 23.86 kB / 0.7119 GB, free: 6.879 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1877, allocations: 59.73 kB / 0.7119 GB, free: 6.82 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1877, allocations: 0 / 0.7119 GB, free: 6.82 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.553e-06/0.1877, allocations: 0 / 0.7119 GB, free: 6.82 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 5.57e-06/0.1877, allocations: 4 kB / 0.7119 GB, free: 6.816 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0005664/0.1883, allocations: 310 kB / 0.7122 GB, free: 6.48 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1883, allocations: 8.031 kB / 0.7122 GB, free: 6.473 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.1883, allocations: 8.938 kB / 0.7122 GB, free: 6.465 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1885, allocations: 130.4 kB / 0.7124 GB, free: 6.312 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1885, allocations: 4.375 kB / 0.7124 GB, free: 6.309 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1885, allocations: 8.375 kB / 0.7124 GB, free: 6.301 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.1888, allocations: 82.2 kB / 0.7124 GB, free: 6.215 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1889, allocations: 192 / 0.7124 GB, free: 6.215 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1889, allocations: 11.88 kB / 0.7125 GB, free: 6.203 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1889, allocations: 0 / 0.7125 GB, free: 6.203 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.1892, allocations: 83.91 kB / 0.7125 GB, free: 6.121 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.1897, allocations: 299.7 kB / 0.7128 GB, free: 5.785 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.19, allocations: 58.53 kB / 0.7129 GB, free: 5.719 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1901, allocations: 40.92 kB / 0.7129 GB, free: 5.676 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.1902, allocations: 0 / 0.7129 GB, free: 5.676 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1902, allocations: 38.55 kB / 0.713 GB, free: 5.629 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1902, allocations: 3.938 kB / 0.713 GB, free: 5.625 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3): time 0.000604/0.1908, allocations: 141.6 kB / 0.7131 GB, free: 5.48 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1908, allocations: 51.41 kB / 0.7131 GB, free: 5.418 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1909, allocations: 113.8 kB / 0.7133 GB, free: 5.297 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.191, allocations: 25.7 kB / 0.7133 GB, free: 5.266 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.191, allocations: 100.1 kB / 0.7134 GB, free: 5.164 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.191, allocations: 11.89 kB / 0.7134 GB, free: 5.152 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.1911, allocations: 13.72 kB / 0.7134 GB, free: 5.133 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001344/0.1912, allocations: 326.8 kB / 0.7137 GB, free: 4.805 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1914, allocations: 27.97 kB / 0.7137 GB, free: 4.777 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1915, allocations: 39.95 kB / 0.7138 GB, free: 4.738 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.1918, allocations: 72.78 kB / 0.7138 GB, free: 4.664 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1918, allocations: 0 / 0.7138 GB, free: 4.664 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003433/0.1921, allocations: 109.5 kB / 0.7139 GB, free: 4.551 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1922, allocations: 7.984 kB / 0.714 GB, free: 4.543 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.1922, allocations: 15.92 kB / 0.714 GB, free: 4.527 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1922, allocations: 0 / 0.714 GB, free: 4.527 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1923, allocations: 12.31 kB / 0.714 GB, free: 4.516 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1923, allocations: 0 / 0.714 GB, free: 4.516 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1924, allocations: 11.98 kB / 0.714 GB, free: 4.504 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1924, allocations: 4 kB / 0.714 GB, free: 4.5 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 (3):
 * Single equations (assignments): 3
 * 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 9.085e-05/0.1925, allocations: 125.8 kB / 0.7141 GB, free: 4.367 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1925, allocations: 0 / 0.7141 GB, free: 4.367 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.1929, allocations: 125.5 kB / 0.7142 GB, free: 4.23 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1929, allocations: 0 / 0.7142 GB, free: 4.23 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1929, allocations: 0 / 0.7142 GB, free: 4.23 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1929, allocations: 0 / 0.7142 GB, free: 4.23 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.1931, allocations: 152.7 kB / 0.7144 GB, free: 4.039 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1931, allocations: 4 kB / 0.7144 GB, free: 4.035 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.1932, allocations: 19.97 kB / 0.7144 GB, free: 4.016 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1932, allocations: 0 / 0.7144 GB, free: 4.016 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1932, allocations: 0 / 0.7144 GB, free: 4.016 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1932, allocations: 4 kB / 0.7144 GB, free: 4.012 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1932, allocations: 0 / 0.7144 GB, free: 4.012 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.1936, allocations: 203.4 kB / 0.7146 GB, free: 3.797 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.297e-06/0.1936, allocations: 3.953 kB / 0.7146 GB, free: 3.793 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1936, allocations: 4 kB / 0.7146 GB, free: 3.789 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1937, allocations: 11.98 kB / 0.7146 GB, free: 3.777 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1938, allocations: 3.984 kB / 0.7146 GB, free: 3.773 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1938, allocations: 7.938 kB / 0.7146 GB, free: 3.766 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 5.893e-05/0.1938, allocations: 95.27 kB / 0.7147 GB, free: 3.672 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 9e-08/0.1938, allocations: 0 / 0.7147 GB, free: 3.672 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0002296/0.1941, allocations: 11.94 kB / 0.7147 GB, free: 3.66 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 (3):
 * Single equations (assignments): 3
 * 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.0001417/0.1942, allocations: 103.2 kB / 0.7148 GB, free: 3.551 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0003756/0.1946, allocations: 75.91 kB / 0.7149 GB, free: 3.477 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1946, allocations: 0 / 0.7149 GB, free: 3.477 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1948, allocations: 39.97 kB / 0.7149 GB, free: 3.438 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1951, allocations: 7.938 kB / 0.715 GB, free: 3.43 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.1954, allocations: 161.3 kB / 0.7151 GB, free: 3.246 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1957, allocations: 0.6885 MB / 0.7158 GB, free: 2.531 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 3.95e-05/0.1958, allocations: 4 kB / 0.7158 GB, free: 2.527 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.1958, allocations: 15.44 kB / 0.7158 GB, free: 2.512 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.9e-07/0.1958, allocations: 4 kB / 0.7158 GB, free: 2.508 MB / 0.5294 GB
Notification: Performance of Templates: time 0.003527/0.1993, allocations: 0.7963 MB / 0.7166 GB, free: 1.723 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.397799455560744]
Failed to read output from testmodel.py, exit status != 0:
0.20669088046997786 0.22074011000000002 0.030221222000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fdc1ace97b0>