Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 217.7 kB / 22.25 MB, free: 5.125 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 284.2 kB / 312.7 MB, free: 2.801 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.172/1.172, allocations: 180.9 MB / 0.5372 GB, free: 12.83 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo)
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo)
Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo)
Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo)
Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator")
translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [Timeout 660]
"Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.004202/0.004202, allocations: 100.3 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1968, allocations: 95.38 MB / 0.8335 GB, free: 7.883 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003179/0.2, allocations: 1.835 MB / 0.8353 GB, free: 6.039 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002132/0.2021, allocations: 1.201 MB / 0.8364 GB, free: 4.828 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2023, allocations: 0 / 0.8364 GB, free: 4.828 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.2031, allocations: 165.4 kB / 0.8366 GB, free: 4.668 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.2036, allocations: 167.4 kB / 0.8368 GB, free: 4.504 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.204, allocations: 139.6 kB / 0.8369 GB, free: 4.367 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002622/0.2043, allocations: 167.6 kB / 0.837 GB, free: 4.203 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.2044, allocations: 21.08 kB / 0.8371 GB, free: 4.18 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.2045, allocations: 75.69 kB / 0.8371 GB, free: 4.105 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.2047, allocations: 83.61 kB / 0.8372 GB, free: 4.023 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.2047, allocations: 12 kB / 0.8372 GB, free: 4.012 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.2049, allocations: 67.95 kB / 0.8373 GB, free: 3.945 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 9.556e-05/0.205, allocations: 55.7 kB / 0.8373 GB, free: 3.891 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 9.088e-05/0.205, allocations: 63.61 kB / 0.8374 GB, free: 3.828 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.2054, allocations: 203.1 kB / 0.8376 GB, free: 3.629 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2054, allocations: 4 kB / 0.8376 GB, free: 3.625 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.373e-06/0.2054, allocations: 0 / 0.8376 GB, free: 3.625 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.691e-06/0.2054, allocations: 0 / 0.8376 GB, free: 3.625 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.0007241/0.2061, allocations: 430.8 kB / 0.838 GB, free: 3.168 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2061, allocations: 13.94 kB / 0.838 GB, free: 3.156 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.2062, allocations: 20.78 kB / 0.838 GB, free: 3.137 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.2065, allocations: 198.1 kB / 0.8382 GB, free: 2.918 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2065, allocations: 4.375 kB / 0.8382 GB, free: 2.914 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.2065, allocations: 8.125 kB / 0.8383 GB, free: 2.906 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2067, allocations: 91.31 kB / 0.8383 GB, free: 2.805 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2067, allocations: 0 / 0.8383 GB, free: 2.805 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2068, allocations: 0 / 0.8383 GB, free: 2.805 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2068, allocations: 8 kB / 0.8383 GB, free: 2.797 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.2069, allocations: 31.98 kB / 0.8384 GB, free: 2.766 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.2074, allocations: 319.8 kB / 0.8387 GB, free: 2.41 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2076, allocations: 74.61 kB / 0.8388 GB, free: 2.328 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.2076, allocations: 40.83 kB / 0.8388 GB, free: 2.285 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2076, allocations: 0 / 0.8388 GB, free: 2.285 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.2078, allocations: 83.36 kB / 0.8389 GB, free: 2.191 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.2078, allocations: 0 / 0.8389 GB, free: 2.191 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=10): time 0.0003349/0.2081, allocations: 141.6 kB / 0.839 GB, free: 2.047 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.2082, allocations: 89.05 kB / 0.8391 GB, free: 1.941 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.2085, allocations: 267.1 kB / 0.8393 GB, free: 1.668 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.2085, allocations: 29.7 kB / 0.8394 GB, free: 1.633 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.2086, allocations: 120.4 kB / 0.8395 GB, free: 1.512 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.2086, allocations: 31.73 kB / 0.8395 GB, free: 1.48 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.2087, allocations: 29.7 kB / 0.8395 GB, free: 1.445 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001621/0.2089, allocations: 338.7 kB / 0.8399 GB, free: 1.105 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.2089, allocations: 27.98 kB / 0.8399 GB, free: 1.078 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.209, allocations: 55.42 kB / 0.8399 GB, free: 1.012 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.2092, allocations: 81.62 kB / 0.84 GB, free: 0.9258 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2092, allocations: 0 / 0.84 GB, free: 0.9258 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002201/0.2094, allocations: 121.5 kB / 0.8401 GB, free: 0.8008 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2094, allocations: 4 kB / 0.8401 GB, free: 0.7969 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2094, allocations: 0 / 0.8401 GB, free: 0.7969 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2094, allocations: 0 / 0.8401 GB, free: 0.7969 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.2095, allocations: 12 kB / 0.8402 GB, free: 0.7852 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2095, allocations: 4.062 kB / 0.8402 GB, free: 0.7812 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.2095, allocations: 19.88 kB / 0.8402 GB, free: 0.7617 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.2096, allocations: 0 / 0.8402 GB, free: 0.7617 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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: 1
 * Algorithm blocks: 0
 * 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.0001376/0.2097, allocations: 142.5 kB / 0.8403 GB, free: 0.6133 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.2097, allocations: 15.91 kB / 0.8403 GB, free: 0.5977 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.21, allocations: 123 kB / 0.8404 GB, free: 480 kB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.21, allocations: 0 / 0.8404 GB, free: 480 kB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.21, allocations: 4 kB / 0.8405 GB, free: 476 kB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.21, allocations: 7.938 kB / 0.8405 GB, free: 468 kB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.2102, allocations: 200.5 kB / 0.8407 GB, free: 224 kB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2102, allocations: 96 / 0.8407 GB, free: 224 kB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.2102, allocations: 7.938 kB / 0.8407 GB, free: 216 kB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2102, allocations: 4 kB / 0.8407 GB, free: 212 kB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2102, allocations: 3.938 kB / 0.8407 GB, free: 208 kB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2102, allocations: 0 / 0.8407 GB, free: 208 kB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2102, allocations: 3.938 kB / 0.8407 GB, free: 204 kB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.2105, allocations: 152.9 kB / 0.8408 GB, free: 32 kB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.2105, allocations: 15.91 kB / 0.8408 GB, free: 16 kB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.2105, allocations: 0 / 0.8408 GB, free: 16 kB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.2106, allocations: 7.984 kB / 0.8408 GB, free: 8 kB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.2106, allocations: 4 kB / 0.8408 GB, free: 4 kB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.2106, allocations: 12 kB / 0.8409 GB, free: 15.99 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0002049/0.2108, allocations: 195.2 kB / 0.841 GB, free: 15.8 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.2108, allocations: 0 / 0.841 GB, free: 15.8 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0002348/0.2111, allocations: 43.81 kB / 0.8411 GB, free: 15.75 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4])
 * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 4
 * Array equations: 1
 * 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.001484/0.2125, allocations: 424.8 kB / 0.8415 GB, free: 15.5 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.0002137/0.2128, allocations: 71.91 kB / 0.8416 GB, free: 15.43 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2128, allocations: 0 / 0.8416 GB, free: 15.43 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.2128, allocations: 31.98 kB / 0.8416 GB, free: 15.39 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2131, allocations: 52.78 kB / 0.8416 GB, free: 15.35 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.2137, allocations: 310.8 kB / 0.8419 GB, free: 15.02 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.214, allocations: 0.7241 MB / 0.8426 GB, free: 14.27 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 6.27e-05/0.2141, allocations: 21.41 kB / 0.8427 GB, free: 14.25 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.2141, allocations: 23.42 kB / 0.8427 GB, free: 14.23 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.21e-07/0.2141, allocations: 4 kB / 0.8427 GB, free: 14.23 MB / 0.5919 GB
Notification: Performance of Templates: time 0.006006/0.2201, allocations: 2.374 MB / 0.845 GB, free: 11.87 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.007086601108313]
Failed to read output from testmodel.py, exit status != 0:
0.22876152768731117 0.242670516 0.034250327000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f76d317d7b0>