Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001549/0.001549, allocations: 114.6 kB / 19.59 MB, free: 2.262 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.001522/0.001522, allocations: 186.8 kB / 22.85 MB, free: 5.676 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.361/1.361, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.9219/0.9219, allocations: 149.5 MB / 456.3 MB, free: 1.289 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 66.08 kB / 0.6324 GB, free: 9.137 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1858, allocations: 87.88 MB / 0.7182 GB, free: 1.191 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.001871/0.1877, allocations: 0.7274 MB / 0.7189 GB, free: 480 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001443/0.1891, allocations: 1.158 MB / 0.7201 GB, free: 15.3 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.1892, allocations: 4 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.1892, allocations: 3.938 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.1893, allocations: 19.91 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.1897, allocations: 134.1 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1899, allocations: 115.8 kB / 0.7203 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.19, allocations: 11.98 kB / 0.7203 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.1901, allocations: 47.91 kB / 0.7204 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.1902, allocations: 51.75 kB / 0.7204 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.1902, allocations: 16 kB / 0.7204 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.1903, allocations: 23.98 kB / 0.7205 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.1903, allocations: 8 kB / 0.7205 GB, free: 14.87 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.1903, allocations: 43.84 kB / 0.7205 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1905, allocations: 111.6 kB / 0.7206 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1905, allocations: 0 / 0.7206 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.242e-06/0.1905, allocations: 0 / 0.7206 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.438e-06/0.1905, allocations: 0 / 0.7206 GB, free: 14.72 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.0005473/0.1911, allocations: 331.8 kB / 0.7209 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1911, allocations: 16.62 kB / 0.721 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.1911, allocations: 8.891 kB / 0.721 GB, free: 14.33 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1912, allocations: 118.4 kB / 0.7211 GB, free: 14.19 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1913, allocations: 4.375 kB / 0.7211 GB, free: 14.19 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1913, allocations: 16.31 kB / 0.7211 GB, free: 14.17 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1915, allocations: 62.22 kB / 0.7212 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1915, allocations: 192 / 0.7212 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1915, allocations: 7.922 kB / 0.7212 GB, free: 14.1 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1915, allocations: 4 kB / 0.7212 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1917, allocations: 39.95 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.1921, allocations: 303.8 kB / 0.7215 GB, free: 13.71 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1923, allocations: 58.48 kB / 0.7216 GB, free: 13.65 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.1924, allocations: 37.02 kB / 0.7216 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1924, allocations: 0 / 0.7216 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.1926, allocations: 91.3 kB / 0.7217 GB, free: 13.51 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1926, allocations: 0 / 0.7217 GB, free: 13.51 MB / 0.545 GB
Notification: Performance of matching and sorting (n=8): time 0.000419/0.193, allocations: 141.6 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1931, allocations: 55.41 kB / 0.7219 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.382e-05/0.1932, allocations: 117.8 kB / 0.722 GB, free: 13.17 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1932, allocations: 29.7 kB / 0.722 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.1933, allocations: 92.17 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1933, allocations: 23.83 kB / 0.7221 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.1934, allocations: 41.69 kB / 0.7222 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001344/0.1935, allocations: 314.8 kB / 0.7225 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1937, allocations: 59.89 kB / 0.7225 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1938, allocations: 84.69 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.1941, allocations: 153.8 kB / 0.7227 GB, free: 12.33 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1941, allocations: 0 / 0.7227 GB, free: 12.33 MB / 0.545 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004206/0.1945, allocations: 207.1 kB / 0.7229 GB, free: 12.11 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.1946, allocations: 37.83 kB / 0.723 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.1946, allocations: 7.984 kB / 0.723 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1946, allocations: 0 / 0.723 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.1947, allocations: 19.94 kB / 0.723 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1947, allocations: 7.984 kB / 0.723 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1949, allocations: 27.97 kB / 0.723 GB, free: 12.01 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.1949, allocations: 11.98 kB / 0.723 GB, free: 12 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (11):
 * Single equations (assignments): 10
 * 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.0001017/0.195, allocations: 129.7 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.195, allocations: 7.953 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.195, allocations: 8.375 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.195, allocations: 4 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.195, allocations: 0 / 0.7232 GB, free: 11.84 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.195, allocations: 0 / 0.7232 GB, free: 11.84 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.1955, allocations: 349.4 kB / 0.7235 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1955, allocations: 4 kB / 0.7235 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.1956, allocations: 15.92 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1956, allocations: 0 / 0.7235 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1956, allocations: 4 kB / 0.7235 GB, free: 11.42 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1956, allocations: 0 / 0.7235 GB, free: 11.42 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1956, allocations: 0 / 0.7235 GB, free: 11.42 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.1959, allocations: 219.8 kB / 0.7238 GB, free: 11.19 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.1959, allocations: 0 / 0.7238 GB, free: 11.19 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1959, allocations: 8 kB / 0.7238 GB, free: 11.18 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.196, allocations: 7.984 kB / 0.7238 GB, free: 11.18 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.196, allocations: 3.984 kB / 0.7238 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.196, allocations: 7.938 kB / 0.7238 GB, free: 11.16 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.387e-05/0.1961, allocations: 95.31 kB / 0.7239 GB, free: 11.07 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.1961, allocations: 0 / 0.7239 GB, free: 11.07 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002511/0.1963, allocations: 24 kB / 0.7239 GB, free: 11.05 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y)
 * Number of discrete states: 1 (change.u)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * 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.0001261/0.1965, allocations: 110.3 kB / 0.724 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003847/0.1969, allocations: 163.3 kB / 0.7242 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1969, allocations: 0 / 0.7242 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.197, allocations: 31.97 kB / 0.7242 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1972, allocations: 20.23 kB / 0.7242 GB, free: 10.71 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.1976, allocations: 170.7 kB / 0.7244 GB, free: 10.51 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1979, allocations: 0.6885 MB / 0.725 GB, free: 9.797 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.987e-05/0.1979, allocations: 4 kB / 0.725 GB, free: 9.793 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.1979, allocations: 11.44 kB / 0.7251 GB, free: 9.781 MB / 0.545 GB
Notification: Performance of SimCode: time 2.91e-07/0.1979, allocations: 0 / 0.7251 GB, free: 9.781 MB / 0.545 GB
Notification: Performance of Templates: time 0.00439/0.2023, allocations: 1.485 MB / 0.7265 GB, free: 8.312 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.281506542116404]
Failed to read output from testmodel.py, exit status != 0:
0.2104323348030448 0.22453684000000002 0.031098176
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f472be417b0>