Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.001356/0.001356, 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.001525/0.001525, allocations: 190 kB / 22.85 MB, free: 5.652 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.498/1.498, allocations: 225.6 MB / 251.5 MB, free: 13.06 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.9906/0.9906, allocations: 149.5 MB / 456.3 MB, free: 1.301 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 66.53 kB / 0.6324 GB, free: 9.18 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1988, allocations: 87.88 MB / 0.7182 GB, free: 1.23 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002468/0.2013, allocations: 0.6476 MB / 0.7188 GB, free: 0.5859 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.002251/0.2035, allocations: 1.19 MB / 0.72 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.2036, allocations: 3.938 kB / 0.72 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.2036, allocations: 0 / 0.72 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.2037, allocations: 15.88 kB / 0.72 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00097/0.2047, allocations: 221.1 kB / 0.7202 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003443/0.205, allocations: 175.7 kB / 0.7204 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.2051, allocations: 7.984 kB / 0.7204 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2053, allocations: 71.83 kB / 0.7205 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.2054, allocations: 59.86 kB / 0.7205 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.2055, allocations: 20 kB / 0.7206 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.2056, allocations: 35.97 kB / 0.7206 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.2056, allocations: 7.938 kB / 0.7206 GB, free: 14.78 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2058, allocations: 51.89 kB / 0.7207 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.00031/0.2061, allocations: 155.5 kB / 0.7208 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2061, allocations: 0 / 0.7208 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.102e-06/0.2061, allocations: 0 / 0.7208 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.412e-06/0.2061, allocations: 0 / 0.7208 GB, free: 14.58 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.0006889/0.2068, allocations: 361.6 kB / 0.7211 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2068, allocations: 8.625 kB / 0.7212 GB, free: 14.17 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.2069, allocations: 16.89 kB / 0.7212 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2071, allocations: 114.4 kB / 0.7213 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2071, allocations: 8.375 kB / 0.7213 GB, free: 14.01 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.2071, allocations: 8.375 kB / 0.7213 GB, free: 14 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2073, allocations: 54.17 kB / 0.7213 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2073, allocations: 4.172 kB / 0.7213 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2073, allocations: 7.938 kB / 0.7214 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2073, allocations: 0 / 0.7214 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.855e-05/0.2074, allocations: 12 kB / 0.7214 GB, free: 13.92 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.208, allocations: 319.9 kB / 0.7217 GB, free: 13.57 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.2081, allocations: 42.44 kB / 0.7217 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.2082, allocations: 8.859 kB / 0.7217 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.2082, allocations: 3.938 kB / 0.7217 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.2084, allocations: 83.44 kB / 0.7218 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.2084, allocations: 4 kB / 0.7218 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7): time 0.0003404/0.2087, allocations: 109.6 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.2088, allocations: 55.41 kB / 0.722 GB, free: 13.22 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2089, allocations: 117.8 kB / 0.7221 GB, free: 13.1 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.209, allocations: 29.7 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.2091, allocations: 92.12 kB / 0.7222 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.2091, allocations: 19.89 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.2092, allocations: 49.62 kB / 0.7223 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.000196/0.2094, allocations: 322.8 kB / 0.7226 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.2096, allocations: 59.95 kB / 0.7226 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2099, allocations: 92.27 kB / 0.7227 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.2102, allocations: 163.5 kB / 0.7229 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2102, allocations: 0 / 0.7229 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007175/0.2109, allocations: 265.3 kB / 0.7231 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.211, allocations: 71.39 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.211, allocations: 0 / 0.7232 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.211, allocations: 4 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.592e-05/0.2111, allocations: 0 / 0.7232 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.2111, allocations: 7.938 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.2116, allocations: 56 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.2116, allocations: 15.98 kB / 0.7233 GB, free: 11.78 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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): 7
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0001599/0.2118, allocations: 125.7 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.2118, allocations: 7.953 kB / 0.7234 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.2119, allocations: 8.359 kB / 0.7234 GB, free: 11.63 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2119, allocations: 4 kB / 0.7234 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2119, allocations: 0 / 0.7234 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2119, allocations: 64 / 0.7234 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.2121, allocations: 152.7 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2121, allocations: 0 / 0.7236 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.2121, allocations: 4 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2121, allocations: 0 / 0.7236 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2121, allocations: 3.984 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2121, allocations: 0 / 0.7236 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2121, allocations: 4 kB / 0.7236 GB, free: 11.42 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2124, allocations: 117.3 kB / 0.7237 GB, free: 11.29 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.2124, allocations: 7.953 kB / 0.7237 GB, free: 11.28 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2124, allocations: 0 / 0.7237 GB, free: 11.28 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.2124, allocations: 11.94 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.2125, allocations: 3.984 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2125, allocations: 4 kB / 0.7237 GB, free: 11.26 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.632e-05/0.2126, allocations: 91.27 kB / 0.7238 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of sort global known variables: time 1e-07/0.2126, allocations: 0 / 0.7238 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0004355/0.213, allocations: 36 kB / 0.7238 GB, free: 11.14 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y)
 * Number of discrete states: 0 ()
 * 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.0002103/0.2132, allocations: 107.1 kB / 0.7239 GB, free: 11.02 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005382/0.2138, allocations: 214.6 kB / 0.7241 GB, free: 10.79 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2138, allocations: 0 / 0.7241 GB, free: 10.79 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.2139, allocations: 24.05 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2142, allocations: 20.45 kB / 0.7242 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.2147, allocations: 165.8 kB / 0.7243 GB, free: 10.55 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.2151, allocations: 0.6885 MB / 0.725 GB, free: 9.84 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.859e-05/0.2152, allocations: 4 kB / 0.725 GB, free: 9.836 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.2152, allocations: 11.44 kB / 0.725 GB, free: 9.824 MB / 0.545 GB
Notification: Performance of SimCode: time 4.21e-07/0.2152, allocations: 0 / 0.725 GB, free: 9.824 MB / 0.545 GB
Notification: Performance of Templates: time 0.006893/0.2221, allocations: 1.87 MB / 0.7268 GB, free: 7.977 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.106910781934857]
Failed to read output from testmodel.py, exit status != 0:
0.2316610524430871 0.25627635000000004 0.044980629
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f109b9017b0>