Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001761/0.001761, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.002161/0.002161, allocations: 198.1 kB / 22.85 MB, free: 5.645 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.426/1.426, 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.9672/0.9672, allocations: 149.5 MB / 456.3 MB, free: 1.254 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax")
translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 68.14 kB / 0.6324 GB, free: 9.09 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1831, allocations: 87.87 MB / 0.7182 GB, free: 1.141 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002041/0.1851, allocations: 0.7196 MB / 0.7189 GB, free: 436 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001725/0.1868, allocations: 1.201 MB / 0.7201 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.1869, allocations: 3.938 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.1869, allocations: 3.938 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.187, allocations: 15.91 kB / 0.7201 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.1876, allocations: 134.6 kB / 0.7202 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1877, allocations: 119.7 kB / 0.7203 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.1878, allocations: 11.98 kB / 0.7203 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.1879, allocations: 47.91 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.188, allocations: 59.75 kB / 0.7204 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1881, allocations: 8 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.1881, allocations: 19.98 kB / 0.7205 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.1882, allocations: 12 kB / 0.7205 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.1882, allocations: 43.83 kB / 0.7205 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1884, allocations: 107.6 kB / 0.7206 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1884, allocations: 0 / 0.7206 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.442e-06/0.1884, allocations: 0 / 0.7206 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.18e-06/0.1885, allocations: 0 / 0.7206 GB, free: 14.64 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0006497/0.1891, allocations: 331.9 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1891, allocations: 12.62 kB / 0.721 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.1892, allocations: 8.891 kB / 0.721 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1893, allocations: 122.4 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1893, allocations: 8.375 kB / 0.7211 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1893, allocations: 4.375 kB / 0.7211 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1896, allocations: 66.22 kB / 0.7212 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1896, allocations: 192 / 0.7212 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1896, allocations: 7.938 kB / 0.7212 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1896, allocations: 0 / 0.7212 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1898, allocations: 43.94 kB / 0.7212 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1903, allocations: 295.8 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1905, allocations: 50.55 kB / 0.7215 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1906, allocations: 28.94 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1906, allocations: 0 / 0.7216 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1908, allocations: 91.25 kB / 0.7216 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1908, allocations: 0 / 0.7216 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7): time 0.0004999/0.1913, allocations: 137.7 kB / 0.7218 GB, free: 13.31 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.1914, allocations: 63.39 kB / 0.7218 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1915, allocations: 117.7 kB / 0.722 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1915, allocations: 29.7 kB / 0.722 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.1916, allocations: 84.14 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1916, allocations: 19.89 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.1917, allocations: 33.7 kB / 0.7221 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001749/0.1919, allocations: 326.8 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.192, allocations: 47.95 kB / 0.7225 GB, free: 12.56 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.1922, allocations: 83.27 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1925, allocations: 133 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1925, allocations: 0 / 0.7227 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004809/0.193, allocations: 199.2 kB / 0.7229 GB, free: 12.11 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.1931, allocations: 41.69 kB / 0.7229 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1931, allocations: 320 / 0.7229 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1931, allocations: 96 / 0.7229 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1932, allocations: 20.05 kB / 0.7229 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1932, allocations: 0 / 0.7229 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.1934, allocations: 43.78 kB / 0.723 GB, free: 12 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1935, allocations: 11.97 kB / 0.723 GB, free: 11.99 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001101/0.1936, allocations: 121.8 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.1936, allocations: 4 kB / 0.7231 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.1939, allocations: 118 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.194, allocations: 3.984 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.194, allocations: 0 / 0.7232 GB, free: 11.73 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.194, allocations: 4 kB / 0.7232 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.1944, allocations: 329.5 kB / 0.7235 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1944, allocations: 0 / 0.7235 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.1945, allocations: 8 kB / 0.7235 GB, free: 11.34 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1945, allocations: 4 kB / 0.7235 GB, free: 11.34 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1945, allocations: 7.984 kB / 0.7236 GB, free: 11.33 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1945, allocations: 0 / 0.7236 GB, free: 11.33 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1945, allocations: 0 / 0.7236 GB, free: 11.33 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.1949, allocations: 211.3 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.1949, allocations: 3.953 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1949, allocations: 8 kB / 0.7238 GB, free: 11.1 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.195, allocations: 11.98 kB / 0.7238 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.195, allocations: 7.922 kB / 0.7238 GB, free: 11.08 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.195, allocations: 4 kB / 0.7238 GB, free: 11.07 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.054e-05/0.1951, allocations: 91.69 kB / 0.7239 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1951, allocations: 0 / 0.7239 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002696/0.1954, allocations: 27.92 kB / 0.7239 GB, free: 10.96 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y)
 * Number of discrete states: 1 (triggeredMax.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0001421/0.1955, allocations: 99.25 kB / 0.724 GB, free: 10.85 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004117/0.1959, allocations: 155.3 kB / 0.7241 GB, free: 10.69 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1959, allocations: 3.938 kB / 0.7241 GB, free: 10.68 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1961, allocations: 39.91 kB / 0.7242 GB, free: 10.64 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1963, allocations: 10.69 kB / 0.7242 GB, free: 10.64 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.1967, allocations: 159 kB / 0.7243 GB, free: 10.45 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1971, allocations: 0.6884 MB / 0.725 GB, free: 9.738 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.398e-05/0.1971, allocations: 7.75 kB / 0.725 GB, free: 9.73 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.1971, allocations: 11.44 kB / 0.725 GB, free: 9.723 MB / 0.545 GB
Notification: Performance of SimCode: time 3.91e-07/0.1971, allocations: 0 / 0.725 GB, free: 9.723 MB / 0.545 GB
Notification: Performance of Templates: time 0.004417/0.2015, allocations: 1.441 MB / 0.7264 GB, free: 8.305 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.657933917827904]
Failed to read output from testmodel.py, exit status != 0:
0.21062759961932898 0.22452792300000002 0.032905666
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ffb700c97b0>