Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001359/0.001359, 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.001437/0.001437, allocations: 191.3 kB / 22.85 MB, free: 5.648 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.461/1.461, 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.9793/0.9793, allocations: 149.5 MB / 456.3 MB, free: 1.262 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.39 kB / 0.6324 GB, free: 9.086 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1971, allocations: 87.86 MB / 0.7182 GB, free: 1.141 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002559/0.1996, allocations: 0.8842 MB / 0.7191 GB, free: 264 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001718/0.2014, allocations: 1.186 MB / 0.7203 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.2014, allocations: 0 / 0.7203 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.2015, allocations: 15.86 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.2015, allocations: 7.875 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.202, allocations: 158.7 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0002321/0.2022, allocations: 167.7 kB / 0.7206 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2023, allocations: 29.28 kB / 0.7206 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2025, allocations: 63.78 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2026, allocations: 71.72 kB / 0.7208 GB, free: 14.56 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.2026, allocations: 16 kB / 0.7208 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.2027, allocations: 27.98 kB / 0.7208 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.2027, allocations: 23.92 kB / 0.7208 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.2028, allocations: 67.7 kB / 0.7209 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.203, allocations: 171.3 kB / 0.7211 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2031, allocations: 0 / 0.7211 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.463e-06/0.2031, allocations: 0 / 0.7211 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.449e-06/0.2031, allocations: 4 kB / 0.7211 GB, free: 14.25 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: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0008838/0.2039, allocations: 423.4 kB / 0.7215 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.204, allocations: 8.625 kB / 0.7215 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.204, allocations: 16.88 kB / 0.7215 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000626/0.2047, allocations: 186.5 kB / 0.7217 GB, free: 13.56 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2047, allocations: 8.375 kB / 0.7217 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.2047, allocations: 12.38 kB / 0.7217 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.205, allocations: 87.33 kB / 0.7218 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.205, allocations: 7.875 kB / 0.7218 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.205, allocations: 4 kB / 0.7218 GB, free: 13.44 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.205, allocations: 7.938 kB / 0.7218 GB, free: 13.43 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.2052, allocations: 47.89 kB / 0.7218 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008785/0.2061, allocations: 359.7 kB / 0.7222 GB, free: 12.99 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2062, allocations: 38.5 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.2063, allocations: 28.95 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2063, allocations: 0 / 0.7222 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/0.2066, allocations: 95.36 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.2066, allocations: 3.938 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of matching and sorting (n=10): time 0.0004568/0.2071, allocations: 129.6 kB / 0.7225 GB, free: 12.67 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.2072, allocations: 63.28 kB / 0.7225 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2073, allocations: 151.6 kB / 0.7227 GB, free: 12.44 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.2073, allocations: 33.7 kB / 0.7227 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 9.019e-05/0.2074, allocations: 107.8 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.2075, allocations: 31.73 kB / 0.7228 GB, free: 12.26 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.2075, allocations: 49.64 kB / 0.7229 GB, free: 12.21 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0002021/0.2078, allocations: 322.8 kB / 0.7232 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2079, allocations: 47.95 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.2081, allocations: 131.1 kB / 0.7234 GB, free: 11.67 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.2085, allocations: 200.6 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2085, allocations: 4 kB / 0.7235 GB, free: 11.42 MB / 0.545 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005604/0.2091, allocations: 247 kB / 0.7238 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.2091, allocations: 39.56 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2091, allocations: 4 kB / 0.7238 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2092, allocations: 7.938 kB / 0.7238 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2093, allocations: 24.03 kB / 0.7239 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2093, allocations: 11.88 kB / 0.7239 GB, free: 11.08 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.2095, allocations: 48.64 kB / 0.7239 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2096, allocations: 8 kB / 0.7239 GB, free: 11.02 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (16):
 * Single equations (assignments): 15
 * 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.0001461/0.2097, allocations: 135.2 kB / 0.724 GB, free: 10.88 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2097, allocations: 7.953 kB / 0.7241 GB, free: 10.88 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.2098, allocations: 16.66 kB / 0.7241 GB, free: 10.86 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2098, allocations: 0 / 0.7241 GB, free: 10.86 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.2098, allocations: 3.938 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2098, allocations: 4 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.2104, allocations: 373.4 kB / 0.7244 GB, free: 10.43 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2104, allocations: 0 / 0.7244 GB, free: 10.43 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.2105, allocations: 15.98 kB / 0.7245 GB, free: 10.42 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2105, allocations: 3.938 kB / 0.7245 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2105, allocations: 0 / 0.7245 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2106, allocations: 4 kB / 0.7245 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2106, allocations: 0 / 0.7245 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.211, allocations: 243.4 kB / 0.7247 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.211, allocations: 11.84 kB / 0.7247 GB, free: 10.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2111, allocations: 4 kB / 0.7247 GB, free: 10.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.2112, allocations: 8.031 kB / 0.7247 GB, free: 10.13 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.2112, allocations: 11.98 kB / 0.7247 GB, free: 10.12 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2112, allocations: 4 kB / 0.7247 GB, free: 10.12 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.859e-05/0.2113, allocations: 106.2 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2113, allocations: 0 / 0.7248 GB, free: 10.02 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003029/0.2116, allocations: 35.92 kB / 0.7249 GB, free: 9.98 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y)
 * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (10):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.000187/0.2118, allocations: 111.1 kB / 0.725 GB, free: 9.863 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.000461/0.2123, allocations: 167.3 kB / 0.7251 GB, free: 9.688 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2123, allocations: 0 / 0.7251 GB, free: 9.688 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.2124, allocations: 40.09 kB / 0.7252 GB, free: 9.648 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2127, allocations: 24.11 kB / 0.7252 GB, free: 9.625 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.2134, allocations: 272.9 kB / 0.7255 GB, free: 9.336 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.2138, allocations: 0.7084 MB / 0.7261 GB, free: 8.602 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 6.639e-05/0.2139, allocations: 16.66 kB / 0.7262 GB, free: 8.582 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.2139, allocations: 19.42 kB / 0.7262 GB, free: 8.562 MB / 0.545 GB
Notification: Performance of SimCode: time 9.02e-07/0.2139, allocations: 0 / 0.7262 GB, free: 8.562 MB / 0.545 GB
Notification: Performance of Templates: time 0.005884/0.2198, allocations: 1.699 MB / 0.7278 GB, free: 6.883 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.918848637491465]
Failed to read output from testmodel.py, exit status != 0:
0.22862198576331139 0.24349408900000002 0.037300237
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f16a3a017b0>