Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.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.001556/0.001556, allocations: 100.6 kB / 20.35 MB, free: 1.59 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.001602/0.001602, allocations: 188.4 kB / 23.6 MB, free: 4.984 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.321/1.321, allocations: 225.6 MB / 252.3 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 179]
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.8781/0.8781, allocations: 149.5 MB / 457 MB, free: 1.316 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.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 660]
"Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.015e-05, allocations: 2.281 kB / 0.6331 GB, free: 9.234 MB / 462.1 MB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.001767/0.001787, allocations: 0.7636 MB / 0.6338 GB, free: 8.492 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00183/0.003617, allocations: 1.348 MB / 0.6351 GB, free: 7.133 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.003679, allocations: 4 kB / 0.6351 GB, free: 7.129 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.003716, allocations: 11.81 kB / 0.6352 GB, free: 7.117 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.003791, allocations: 19.84 kB / 0.6352 GB, free: 7.098 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.004543, allocations: 314.8 kB / 0.6355 GB, free: 6.797 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000391/0.004934, allocations: 378.2 kB / 0.6358 GB, free: 6.43 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.005055, allocations: 41.28 kB / 0.6359 GB, free: 6.391 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.005228, allocations: 162.9 kB / 0.636 GB, free: 6.234 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.005413, allocations: 139.6 kB / 0.6362 GB, free: 6.098 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.005479, allocations: 36 kB / 0.6362 GB, free: 6.062 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.005581, allocations: 51.98 kB / 0.6362 GB, free: 6.012 MB / 462.1 MB
Notification: Performance of combineBinaries: time 0.0003819/0.005963, allocations: 413.5 kB / 0.6366 GB, free: 5.605 MB / 462.1 MB
Notification: Performance of replaceArrayConstructors: time 8.489e-05/0.006048, allocations: 134.2 kB / 0.6368 GB, free: 5.473 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.006115, allocations: 35.94 kB / 0.6368 GB, free: 5.438 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.639e-05/0.006131, allocations: 3.938 kB / 0.6368 GB, free: 5.434 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 26 (26)
 * Number of variables: 26 (26)
Notification: Performance of Bindings: time 0.001224/0.007355, allocations: 1.074 MB / 0.6379 GB, free: 4.246 MB / 462.1 MB
Notification: Performance of FunctionAlias: time 0.000115/0.00747, allocations: 112.8 kB / 0.638 GB, free: 4.125 MB / 462.1 MB
Notification: Performance of Early Inline: time 0.001276/0.008746, allocations: 1.234 MB / 0.6392 GB, free: 2.863 MB / 462.1 MB
Notification: Performance of Simplify 1: time 0.0003514/0.009098, allocations: 306.4 kB / 0.6395 GB, free: 2.523 MB / 462.1 MB
Notification: Performance of Alias: time 0.001416/0.01051, allocations: 1.088 MB / 0.6405 GB, free: 1.363 MB / 462.1 MB
Notification: Performance of Simplify 2: time 0.0003334/0.01085, allocations: 301.9 kB / 0.6408 GB, free: 1.027 MB / 462.1 MB
Notification: Performance of Remove Stream: time 0.0002715/0.01112, allocations: 257 kB / 0.6411 GB, free: 0.7539 MB / 462.1 MB
Notification: Performance of Detect States: time 0.0006342/0.01175, allocations: 0.5366 MB / 0.6416 GB, free: 172 kB / 462.1 MB
Notification: Performance of Events: time 0.0003876/0.01214, allocations: 294.5 kB / 0.6419 GB, free: 15.91 MB / 478.1 MB
Notification: Performance of Partitioning: time 0.0003817/0.01252, allocations: 327.5 kB / 0.6422 GB, free: 15.59 MB / 478.1 MB
Notification: Performance of Causalize: time 0.0011/0.01362, allocations: 0.8228 MB / 0.643 GB, free: 14.76 MB / 478.1 MB
Notification: Performance of After Index Reduction Inline: time 0.001199/0.01482, allocations: 1.268 MB / 0.6442 GB, free: 13.49 MB / 478.1 MB
Notification: Performance of Simplify: time 0.0007707/0.01559, allocations: 0.5891 MB / 0.6448 GB, free: 12.84 MB / 478.1 MB
Notification: Performance of Inline: time 0.001555/0.01715, allocations: 1.605 MB / 0.6464 GB, free: 11.22 MB / 478.1 MB
Notification: Performance of Partitioning: time 4.103e-05/0.01719, allocations: 25.38 kB / 0.6464 GB, free: 11.19 MB / 478.1 MB
Notification: Performance of Cleanup: time 0.0002637/0.01745, allocations: 271.7 kB / 0.6466 GB, free: 10.93 MB / 478.1 MB
Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization!
Checking for consistency is not yet supported, following equations had to be removed:
	[SCAL] (1) swiCleInp.clr = $PRE.swiCleInp.clr ($RES_SRT_83);
	[SCAL] (1) swiCleInp.u = $PRE.swiCleInp.u ($RES_SRT_82);
Notification: Performance of Causalize: time 0.002397/0.01985, allocations: 1.756 MB / 0.6484 GB, free: 9.145 MB / 478.1 MB
Notification: Performance of Tearing: time 1.971e-05/0.01987, allocations: 16 kB / 0.6484 GB, free: 9.129 MB / 478.1 MB
Notification: Performance of Initialization: time 3.51e-07/0.01987, allocations: 0 / 0.6484 GB, free: 9.129 MB / 478.1 MB
Notification: Performance of Remove Dummies: time 5.04e-06/0.01987, allocations: 0 / 0.6484 GB, free: 9.129 MB / 478.1 MB
Notification: Performance of Tearing: time 8.185e-06/0.01988, allocations: 12 kB / 0.6484 GB, free: 9.117 MB / 478.1 MB
Notification: Performance of Categorize: time 6.172e-06/0.01989, allocations: 0 / 0.6484 GB, free: 9.117 MB / 478.1 MB
Notification: Performance of Solve: time 0.0004547/0.02034, allocations: 338.2 kB / 0.6487 GB, free: 8.785 MB / 478.1 MB
Notification: Performance of Jacobian: time 3.747e-06/0.02035, allocations: 0 / 0.6487 GB, free: 8.785 MB / 478.1 MB
Notification: Partition statistics after passing the back-end:
 * Number of ODE partitions: ..................... 0
 * Number of algebraic partitions: ............... 0
 * Number of ODE event partitions: ............... 0
 * Number of algebraic event partitions: ......... 1
 * Number of clocked partitions: ................. 0
 * Number of initial partitions: ................. 1
 * Number of initial(lambda=0) partitions: ....... 0
Notification: Variable statistics after passing the back-end:
 * Number of states: ............................. 0 (0) {}
 * Number of discrete states: .................... 8 (8) {swiCleInp.u, swiCleInp.clr, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, truCleTruIni.y, falCleFalIni.y, falCleTruIni.y}
 * Number of clocked states: ..................... 0 (0) {}
 * Number of discrete variables: ................. 34 (34) {falCleTruIni.u, falCleTruIni.clr, falCleFalIni.u, falCleFalIni.clr, truCleTruIni.u, truCleTruIni.clr, truCleFalIni.u, truCleFalIni.clr, swiCleInp1.u, swiCleInp1.clr, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0}
 * Number of clocks: ............................. 0 (0) {}
 * Number of top-level inputs: ................... 0 (0) {}
Notification: [Simulation] Strong Component statistics after passing the back-end:
 * Number of single strong components: ........... 34 (scalar:34, array:0, record:0)
 * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0)
 * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0)
 * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0)
Notification: [Initialization] Strong Component statistics after passing the back-end:
 * Number of single strong components: ........... 54 (scalar:54, array:0, record:0)
 * Number of multi strong components: ............ 8 (algorithm:8, when:0, if:0, tuple:0)
 * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0)
 * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0)
Notification: Performance of backend: time 6.04e-05/0.02041, allocations: 48.8 kB / 0.6488 GB, free: 8.746 MB / 478.1 MB
Notification: Performance of SimCode: time 0.001141/0.02155, allocations: 1.325 MB / 0.65 GB, free: 7.402 MB / 478.1 MB
Notification: Performance of Templates: time 0.007918/0.02947, allocations: 4.35 MB / 0.6543 GB, free: 3.07 MB / 478.1 MB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.065672799944878]
Failed to read output from testmodel.py, exit status != 0:
0.03662177734076977 0.050531278000000006 0.041515090000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f45d6e95780>