Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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.001477/0.001477, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001592/0.001592, allocations: 193.4 kB / 22.85 MB, free: 5.664 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.36/1.36, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9101/0.9101, allocations: 149.5 MB / 456.3 MB, free: 1.227 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 68.86 kB / 0.6324 GB, free: 9.016 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1766, allocations: 87.88 MB / 0.7183 GB, free: 1.059 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.002128/0.1787, allocations: 0.6931 MB / 0.7189 GB, free: 376 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001111/0.1798, allocations: 0.8084 MB / 0.7197 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.1799, allocations: 4 kB / 0.7197 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.1799, allocations: 3.938 kB / 0.7197 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 8.92e-05/0.18, allocations: 3.938 kB / 0.7197 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 7.785e-05/0.1801, allocations: 11.98 kB / 0.7197 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001037/0.1802, allocations: 43.86 kB / 0.7198 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1803, allocations: 15.92 kB / 0.7198 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.1804, allocations: 15.92 kB / 0.7198 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.1805, allocations: 19.92 kB / 0.7198 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1805, allocations: 4 kB / 0.7198 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.1805, allocations: 8 kB / 0.7198 GB, free: 15.42 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.1805, allocations: 8 kB / 0.7199 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1805, allocations: 19.86 kB / 0.7199 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.000124/0.1807, allocations: 39.86 kB / 0.7199 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.1807, allocations: 4 kB / 0.7199 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of FrontEnd: time 2.655e-06/0.1807, allocations: 0 / 0.7199 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.468e-05/0.1807, allocations: 0 / 0.7199 GB, free: 15.35 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0006453/0.1813, allocations: 286.2 kB / 0.7202 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1814, allocations: 12.62 kB / 0.7202 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.1814, allocations: 8.891 kB / 0.7202 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1816, allocations: 114.5 kB / 0.7203 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1816, allocations: 4.312 kB / 0.7203 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1816, allocations: 384 / 0.7203 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.1819, allocations: 74.16 kB / 0.7204 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1819, allocations: 192 / 0.7204 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1819, allocations: 3.938 kB / 0.7204 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1819, allocations: 0 / 0.7204 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.1822, allocations: 71.91 kB / 0.7205 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.1827, allocations: 232 kB / 0.7207 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1829, allocations: 66.41 kB / 0.7207 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.183, allocations: 32.92 kB / 0.7208 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.183, allocations: 0 / 0.7208 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.1831, allocations: 34.56 kB / 0.7208 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1831, allocations: 0 / 0.7208 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0005132/0.1836, allocations: 133.6 kB / 0.7209 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.1836, allocations: 51.41 kB / 0.721 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1837, allocations: 109.8 kB / 0.7211 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1838, allocations: 29.64 kB / 0.7211 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.1838, allocations: 92.09 kB / 0.7212 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1839, allocations: 7.891 kB / 0.7212 GB, free: 13.85 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.1839, allocations: 25.7 kB / 0.7212 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001667/0.1841, allocations: 310.8 kB / 0.7215 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1842, allocations: 31.97 kB / 0.7216 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1843, allocations: 35.95 kB / 0.7216 GB, free: 13.44 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1846, allocations: 72.78 kB / 0.7217 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1846, allocations: 3.938 kB / 0.7217 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002963/0.1849, allocations: 97.58 kB / 0.7218 GB, free: 13.26 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1849, allocations: 4 kB / 0.7218 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1849, allocations: 0 / 0.7218 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1849, allocations: 7.938 kB / 0.7218 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1851, allocations: 15.98 kB / 0.7218 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1851, allocations: 320 / 0.7218 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.1851, allocations: 7.984 kB / 0.7218 GB, free: 13.22 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1851, allocations: 4 kB / 0.7218 GB, free: 13.22 MB / 0.545 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 8.54e-05/0.1852, allocations: 117.8 kB / 0.7219 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1852, allocations: 4 kB / 0.7219 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.1853, allocations: 8 kB / 0.7219 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1853, allocations: 4 kB / 0.7219 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1853, allocations: 0 / 0.7219 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1853, allocations: 0 / 0.7219 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1855, allocations: 140.7 kB / 0.7221 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1855, allocations: 4 kB / 0.7221 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.1856, allocations: 19.97 kB / 0.7221 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1856, allocations: 3.938 kB / 0.7221 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1856, allocations: 0 / 0.7221 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1856, allocations: 0 / 0.7221 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1856, allocations: 4 kB / 0.7221 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.1859, allocations: 199.6 kB / 0.7223 GB, free: 12.65 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.1859, allocations: 3.984 kB / 0.7223 GB, free: 12.64 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1859, allocations: 4.047 kB / 0.7223 GB, free: 12.64 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1861, allocations: 19.97 kB / 0.7223 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.1861, allocations: 0 / 0.7223 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1861, allocations: 4 kB / 0.7223 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.414e-05/0.1862, allocations: 95.19 kB / 0.7224 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 0.7224 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002131/0.1864, allocations: 8 kB / 0.7224 GB, free: 12.52 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 (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.0001236/0.1865, allocations: 91.25 kB / 0.7225 GB, free: 12.42 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003613/0.1869, allocations: 71.92 kB / 0.7226 GB, free: 12.35 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1869, allocations: 0 / 0.7226 GB, free: 12.35 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.187, allocations: 39.89 kB / 0.7226 GB, free: 12.31 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1874, allocations: 11.94 kB / 0.7226 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.1879, allocations: 129.5 kB / 0.7227 GB, free: 12.14 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.1883, allocations: 0.6807 MB / 0.7234 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.033e-05/0.1883, allocations: 4 kB / 0.7234 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1884, allocations: 7.438 kB / 0.7234 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of SimCode: time 4.61e-07/0.1884, allocations: 0 / 0.7234 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of Templates: time 0.003511/0.1919, allocations: 0.6912 MB / 0.7241 GB, free: 10.74 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.3443663418293]
Failed to read output from testmodel.py, exit status != 0:
0.20060862228274345 0.21581123700000002 0.031800403000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8876ff97b0>