Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.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.001713/0.001713, allocations: 110 kB / 18.93 MB, free: 2.945 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.002173/0.002173, allocations: 189.3 kB / 22.23 MB, free: 5.16 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.499/1.499, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8626/0.8626, allocations: 134 MB / 440.3 MB, free: 220 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator")
translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 66.44 kB / 0.6107 GB, free: 13.65 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2056, allocations: 84.72 MB / 0.6935 GB, free: 8.988 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003533/0.2091, allocations: 1.799 MB / 0.6952 GB, free: 7.176 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001908/0.2111, allocations: 1.061 MB / 0.6963 GB, free: 6.105 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.2111, allocations: 7.875 kB / 0.6963 GB, free: 6.098 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006877/0.2118, allocations: 169.9 kB / 0.6964 GB, free: 5.934 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.2122, allocations: 111.6 kB / 0.6965 GB, free: 5.824 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.2127, allocations: 173.9 kB / 0.6967 GB, free: 5.656 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0002553/0.2129, allocations: 171.6 kB / 0.6969 GB, free: 5.488 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.2131, allocations: 13.3 kB / 0.6969 GB, free: 5.477 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2132, allocations: 75.69 kB / 0.697 GB, free: 5.402 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.2133, allocations: 75.67 kB / 0.697 GB, free: 5.328 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.2133, allocations: 8 kB / 0.697 GB, free: 5.32 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.2135, allocations: 71.94 kB / 0.6971 GB, free: 5.25 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.2136, allocations: 39.84 kB / 0.6971 GB, free: 5.211 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 8.496e-05/0.2137, allocations: 63.61 kB / 0.6972 GB, free: 5.148 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.214, allocations: 203.2 kB / 0.6974 GB, free: 4.949 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.214, allocations: 0 / 0.6974 GB, free: 4.949 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.372e-06/0.214, allocations: 4 kB / 0.6974 GB, free: 4.945 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 6.583e-06/0.214, allocations: 0 / 0.6974 GB, free: 4.945 MB / 0.5137 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.0008347/0.2149, allocations: 434.8 kB / 0.6978 GB, free: 4.484 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2149, allocations: 8.031 kB / 0.6978 GB, free: 4.477 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.215, allocations: 16.84 kB / 0.6978 GB, free: 4.461 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.2153, allocations: 183.2 kB / 0.698 GB, free: 4.254 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2153, allocations: 384 / 0.698 GB, free: 4.254 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.2153, allocations: 8.125 kB / 0.698 GB, free: 4.246 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2155, allocations: 95.31 kB / 0.6981 GB, free: 4.141 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2156, allocations: 0 / 0.6981 GB, free: 4.141 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2156, allocations: 3.938 kB / 0.6981 GB, free: 4.137 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.2156, allocations: 7.984 kB / 0.6981 GB, free: 4.129 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.2157, allocations: 35.98 kB / 0.6982 GB, free: 4.094 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.2163, allocations: 323.7 kB / 0.6985 GB, free: 3.734 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2165, allocations: 70.67 kB / 0.6985 GB, free: 3.656 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.2166, allocations: 32.95 kB / 0.6986 GB, free: 3.621 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2166, allocations: 3.938 kB / 0.6986 GB, free: 3.617 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.2168, allocations: 87.3 kB / 0.6987 GB, free: 3.52 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2168, allocations: 0 / 0.6987 GB, free: 3.52 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=10): time 0.0003725/0.2172, allocations: 149.5 kB / 0.6988 GB, free: 3.367 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.2172, allocations: 81.05 kB / 0.6989 GB, free: 3.27 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.2175, allocations: 259 kB / 0.6991 GB, free: 3.008 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2176, allocations: 29.7 kB / 0.6991 GB, free: 2.973 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.2177, allocations: 112.1 kB / 0.6993 GB, free: 2.859 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.2177, allocations: 31.77 kB / 0.6993 GB, free: 2.828 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.2178, allocations: 33.7 kB / 0.6993 GB, free: 2.789 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001587/0.2179, allocations: 330.8 kB / 0.6996 GB, free: 2.457 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.218, allocations: 27.98 kB / 0.6997 GB, free: 2.43 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.2181, allocations: 56.84 kB / 0.6997 GB, free: 2.363 MB / 0.5137 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2182, allocations: 78 kB / 0.6998 GB, free: 2.281 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2182, allocations: 0 / 0.6998 GB, free: 2.281 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002153/0.2185, allocations: 121.5 kB / 0.6999 GB, free: 2.156 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2185, allocations: 8 kB / 0.6999 GB, free: 2.148 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2185, allocations: 7.984 kB / 0.6999 GB, free: 2.141 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2185, allocations: 0 / 0.6999 GB, free: 2.141 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.2186, allocations: 8 kB / 0.6999 GB, free: 2.133 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.2186, allocations: 0 / 0.6999 GB, free: 2.133 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.2186, allocations: 11.88 kB / 0.6999 GB, free: 2.121 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2187, allocations: 8 kB / 0.6999 GB, free: 2.113 MB / 0.5137 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.0001483/0.2188, allocations: 141.8 kB / 0.7001 GB, free: 1.965 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.2188, allocations: 15.91 kB / 0.7001 GB, free: 1.949 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.2191, allocations: 123 kB / 0.7002 GB, free: 1.824 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2191, allocations: 4 kB / 0.7002 GB, free: 1.82 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2191, allocations: 0 / 0.7002 GB, free: 1.82 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2191, allocations: 3.938 kB / 0.7002 GB, free: 1.816 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.2193, allocations: 200.5 kB / 0.7004 GB, free: 1.578 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2193, allocations: 4 kB / 0.7004 GB, free: 1.574 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.2194, allocations: 0 / 0.7004 GB, free: 1.574 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2194, allocations: 7.938 kB / 0.7004 GB, free: 1.566 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2194, allocations: 7.984 kB / 0.7004 GB, free: 1.559 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2194, allocations: 0 / 0.7004 GB, free: 1.559 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2194, allocations: 0 / 0.7004 GB, free: 1.559 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.2196, allocations: 145 kB / 0.7006 GB, free: 1.398 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.2197, allocations: 15.89 kB / 0.7006 GB, free: 1.383 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.2197, allocations: 0 / 0.7006 GB, free: 1.383 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.204e-05/0.2197, allocations: 8 kB / 0.7006 GB, free: 1.375 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.2198, allocations: 11.86 kB / 0.7006 GB, free: 1.363 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2198, allocations: 11.94 kB / 0.7006 GB, free: 1.352 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 0.0002087/0.22, allocations: 192.4 kB / 0.7008 GB, free: 1.164 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 1e-07/0.22, allocations: 0 / 0.7008 GB, free: 1.164 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0002484/0.2203, allocations: 35.92 kB / 0.7008 GB, free: 1.129 MB / 0.5137 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.001553/0.2218, allocations: 419.6 kB / 0.7012 GB, free: 0.8984 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.000233/0.222, allocations: 67.91 kB / 0.7013 GB, free: 0.832 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.222, allocations: 4.062 kB / 0.7013 GB, free: 0.8281 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.2221, allocations: 31.98 kB / 0.7013 GB, free: 0.7969 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2224, allocations: 43.11 kB / 0.7014 GB, free: 0.7617 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.2231, allocations: 294.7 kB / 0.7017 GB, free: 452 kB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.2234, allocations: 0.724 MB / 0.7024 GB, free: 15.69 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 7.363e-05/0.2235, allocations: 29.7 kB / 0.7024 GB, free: 15.66 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.2236, allocations: 15.44 kB / 0.7024 GB, free: 15.65 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.91e-07/0.2236, allocations: 0 / 0.7024 GB, free: 15.65 MB / 0.5294 GB
Notification: Performance of Templates: time 0.006538/0.2301, allocations: 2.329 MB / 0.7047 GB, free: 13.34 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.965476161800325]
Failed to read output from testmodel.py, exit status != 0:
0.23779940977692604 0.253590904 0.036462296000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fee549e17b0>