Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001827/0.001827, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.002821/0.002821, allocations: 187.6 kB / 22.98 MB, free: 5.008 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.505/1.505, allocations: 225.6 MB / 251.8 MB, free: 13.01 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 1.031/1.031, allocations: 149.6 MB / 456.6 MB, free: 1.168 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator")
translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.06 kB / 0.6328 GB, free: 8.945 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1904, allocations: 87.87 MB / 0.7187 GB, free: 1.004 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003186/0.1936, allocations: 1.779 MB / 0.7204 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001906/0.1955, allocations: 1.134 MB / 0.7215 GB, free: 14.08 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.1956, allocations: 7.938 kB / 0.7215 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1959, allocations: 55.73 kB / 0.7216 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.1961, allocations: 79.67 kB / 0.7216 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.1967, allocations: 226 kB / 0.7219 GB, free: 13.72 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1969, allocations: 155.5 kB / 0.722 GB, free: 13.57 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.197, allocations: 13.3 kB / 0.722 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1971, allocations: 71.64 kB / 0.7221 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1972, allocations: 71.73 kB / 0.7222 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.1973, allocations: 8 kB / 0.7222 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.1975, allocations: 83.86 kB / 0.7222 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.1975, allocations: 35.91 kB / 0.7223 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 7.852e-05/0.1976, allocations: 59.61 kB / 0.7223 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1979, allocations: 203.2 kB / 0.7225 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1979, allocations: 4 kB / 0.7225 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.022e-06/0.1979, allocations: 3.938 kB / 0.7225 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.769e-06/0.1979, allocations: 0 / 0.7225 GB, free: 13.02 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0006945/0.1986, allocations: 419 kB / 0.7229 GB, free: 12.58 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1987, allocations: 8.625 kB / 0.7229 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.1987, allocations: 20.84 kB / 0.723 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1991, allocations: 199.1 kB / 0.7232 GB, free: 12.33 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1991, allocations: 384 / 0.7232 GB, free: 12.33 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.1991, allocations: 12.12 kB / 0.7232 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1994, allocations: 100.2 kB / 0.7233 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1994, allocations: 0 / 0.7233 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1994, allocations: 4 kB / 0.7233 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1994, allocations: 0 / 0.7233 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1995, allocations: 27.98 kB / 0.7233 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.2001, allocations: 331.7 kB / 0.7236 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.2003, allocations: 78.67 kB / 0.7237 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.2004, allocations: 32.84 kB / 0.7237 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.2004, allocations: 96 / 0.7237 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.2006, allocations: 91.3 kB / 0.7238 GB, free: 11.58 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.2006, allocations: 0 / 0.7238 GB, free: 11.58 MB / 0.545 GB
Notification: Performance of matching and sorting (n=8): time 0.0003838/0.201, allocations: 137.5 kB / 0.7239 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.201, allocations: 102.8 kB / 0.724 GB, free: 11.32 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.2013, allocations: 259 kB / 0.7243 GB, free: 11.05 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.2014, allocations: 37.69 kB / 0.7243 GB, free: 11 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.2015, allocations: 116.1 kB / 0.7244 GB, free: 10.89 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.2015, allocations: 23.78 kB / 0.7244 GB, free: 10.86 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.2016, allocations: 33.69 kB / 0.7245 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001795/0.2017, allocations: 330.8 kB / 0.7248 GB, free: 10.49 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.2018, allocations: 31.92 kB / 0.7248 GB, free: 10.46 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.2019, allocations: 68.27 kB / 0.7249 GB, free: 10.38 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.2021, allocations: 65.7 kB / 0.725 GB, free: 10.31 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2021, allocations: 4 kB / 0.725 GB, free: 10.3 MB / 0.545 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002288/0.2023, allocations: 113.8 kB / 0.7251 GB, free: 10.19 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2023, allocations: 4 kB / 0.7251 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2023, allocations: 0 / 0.7251 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2023, allocations: 0 / 0.7251 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.2024, allocations: 19.92 kB / 0.7251 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2024, allocations: 4.016 kB / 0.7251 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.2025, allocations: 11.89 kB / 0.7251 GB, free: 10.15 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2025, allocations: 7.984 kB / 0.7251 GB, free: 10.14 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001514/0.2027, allocations: 146.8 kB / 0.7253 GB, free: 9.988 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.2027, allocations: 15.91 kB / 0.7253 GB, free: 9.973 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.203, allocations: 123 kB / 0.7254 GB, free: 9.848 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.203, allocations: 0 / 0.7254 GB, free: 9.848 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.203, allocations: 0 / 0.7254 GB, free: 9.848 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.203, allocations: 7.922 kB / 0.7254 GB, free: 9.84 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.2032, allocations: 196.6 kB / 0.7256 GB, free: 9.605 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2032, allocations: 4 kB / 0.7256 GB, free: 9.602 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.2033, allocations: 8 kB / 0.7256 GB, free: 9.594 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2033, allocations: 48 / 0.7256 GB, free: 9.594 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2033, allocations: 3.984 kB / 0.7256 GB, free: 9.59 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2033, allocations: 4 kB / 0.7256 GB, free: 9.586 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2033, allocations: 0 / 0.7256 GB, free: 9.586 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.2036, allocations: 144.9 kB / 0.7257 GB, free: 9.426 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.2036, allocations: 27.83 kB / 0.7258 GB, free: 9.398 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.2036, allocations: 0 / 0.7258 GB, free: 9.398 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.869e-05/0.2037, allocations: 8 kB / 0.7258 GB, free: 9.391 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.2038, allocations: 11.98 kB / 0.7258 GB, free: 9.379 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.2038, allocations: 7.938 kB / 0.7258 GB, free: 9.371 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0002042/0.204, allocations: 196.4 kB / 0.726 GB, free: 9.18 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.204, allocations: 0 / 0.726 GB, free: 9.18 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002787/0.2043, allocations: 39.88 kB / 0.726 GB, free: 9.141 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2])
 * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.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.001603/0.2059, allocations: 424.5 kB / 0.7264 GB, free: 8.879 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.000234/0.2061, allocations: 63.97 kB / 0.7265 GB, free: 8.816 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2061, allocations: 0 / 0.7265 GB, free: 8.816 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.2062, allocations: 35.92 kB / 0.7265 GB, free: 8.781 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2065, allocations: 34.64 kB / 0.7265 GB, free: 8.75 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.2071, allocations: 298.7 kB / 0.7268 GB, free: 8.43 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.2075, allocations: 0.7241 MB / 0.7275 GB, free: 7.68 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.537e-05/0.2075, allocations: 25.38 kB / 0.7276 GB, free: 7.656 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.2076, allocations: 19.42 kB / 0.7276 GB, free: 7.637 MB / 0.545 GB
Notification: Performance of SimCode: time 3.3e-07/0.2076, allocations: 3.938 kB / 0.7276 GB, free: 7.633 MB / 0.545 GB
Notification: Performance of Templates: time 0.006711/0.2143, allocations: 2.59 MB / 0.7301 GB, free: 5.07 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.259193739853799]
Failed to read output from testmodel.py, exit status != 0:
0.22481512743979692 0.23907746700000002 0.037920931000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f56efac97b0>