Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.001842/0.001842, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.002084/0.002084, allocations: 190.2 kB / 22.98 MB, free: 5.062 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.516/1.516, allocations: 225.6 MB / 251.8 MB, free: 12.98 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.9815/0.9815, allocations: 149.6 MB / 456.6 MB, free: 1.191 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.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator")
translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 70.92 kB / 0.6328 GB, free: 8.941 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1794, allocations: 87.87 MB / 0.7187 GB, free: 0.9766 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001852/0.1812, allocations: 0.6638 MB / 0.7193 GB, free: 328 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001073/0.1823, allocations: 0.839 MB / 0.7201 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.1824, allocations: 4 kB / 0.7201 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 9.111e-05/0.1825, allocations: 15.86 kB / 0.7201 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.1825, allocations: 3.938 kB / 0.7201 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.1827, allocations: 19.98 kB / 0.7202 GB, free: 15.43 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1828, allocations: 75.75 kB / 0.7202 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.183, allocations: 19.98 kB / 0.7203 GB, free: 15.33 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.183, allocations: 35.91 kB / 0.7203 GB, free: 15.3 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.824e-05/0.1831, allocations: 43.83 kB / 0.7203 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1832, allocations: 4 kB / 0.7203 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.693e-05/0.1832, allocations: 4 kB / 0.7203 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.1832, allocations: 27.97 kB / 0.7204 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.1833, allocations: 35.8 kB / 0.7204 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1834, allocations: 99.56 kB / 0.7205 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1835, allocations: 0 / 0.7205 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.162e-06/0.1835, allocations: 0 / 0.7205 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 9.858e-06/0.1835, allocations: 0 / 0.7205 GB, free: 15.09 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.0006538/0.1841, allocations: 326 kB / 0.7208 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1842, allocations: 8.625 kB / 0.7208 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.1842, allocations: 12.89 kB / 0.7208 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1844, allocations: 130.4 kB / 0.721 GB, free: 14.56 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.1844, allocations: 12.38 kB / 0.721 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1845, allocations: 4.375 kB / 0.721 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.1849, allocations: 159.8 kB / 0.7211 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1849, allocations: 192 / 0.7211 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.1849, allocations: 7.938 kB / 0.7211 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1849, allocations: 0 / 0.7211 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.1854, allocations: 155.8 kB / 0.7213 GB, free: 14.22 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.186, allocations: 411.9 kB / 0.7217 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.1863, allocations: 121.1 kB / 0.7218 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.1866, allocations: 77.69 kB / 0.7219 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1866, allocations: 0 / 0.7219 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1866, allocations: 34.56 kB / 0.7219 GB, free: 13.51 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1866, allocations: 0 / 0.7219 GB, free: 13.51 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.0008509/0.1875, allocations: 229.3 kB / 0.7221 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.1875, allocations: 81.36 kB / 0.7222 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1876, allocations: 141.6 kB / 0.7223 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1876, allocations: 25.7 kB / 0.7223 GB, free: 13 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.1877, allocations: 96.03 kB / 0.7224 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1877, allocations: 15.89 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.1878, allocations: 17.7 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001398/0.1879, allocations: 322.8 kB / 0.7228 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1881, allocations: 63.92 kB / 0.7228 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1884, allocations: 73.64 kB / 0.7229 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.1888, allocations: 133.6 kB / 0.723 GB, free: 12.26 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1888, allocations: 0 / 0.723 GB, free: 12.26 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004862/0.1893, allocations: 161.4 kB / 0.7232 GB, free: 12.1 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1893, allocations: 8 kB / 0.7232 GB, free: 12.09 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1893, allocations: 0 / 0.7232 GB, free: 12.09 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1893, allocations: 0 / 0.7232 GB, free: 12.09 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.1895, allocations: 36.02 kB / 0.7232 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1895, allocations: 3.938 kB / 0.7232 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1896, allocations: 11.98 kB / 0.7233 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1896, allocations: 7.984 kB / 0.7233 GB, free: 12.03 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: 2 (intRep.y[3,1],intRep.y[3,2])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * Array equations: 0
 * 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.0001197/0.1897, allocations: 133.8 kB / 0.7234 GB, free: 11.89 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.1898, allocations: 7.953 kB / 0.7234 GB, free: 11.88 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.1898, allocations: 7.625 kB / 0.7234 GB, free: 11.87 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1898, allocations: 4 kB / 0.7234 GB, free: 11.87 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1898, allocations: 7.938 kB / 0.7234 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1898, allocations: 3.938 kB / 0.7234 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.1901, allocations: 168.8 kB / 0.7236 GB, free: 11.65 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1901, allocations: 0 / 0.7236 GB, free: 11.65 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1903, allocations: 19.97 kB / 0.7236 GB, free: 11.63 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1903, allocations: 7.984 kB / 0.7236 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1903, allocations: 0 / 0.7236 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1903, allocations: 0 / 0.7236 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.274e-05/0.1903, allocations: 4.031 kB / 0.7236 GB, free: 11.62 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.1909, allocations: 342.6 kB / 0.7239 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.1909, allocations: 3.953 kB / 0.7239 GB, free: 11.26 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.1909, allocations: 0 / 0.7239 GB, free: 11.26 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1911, allocations: 27.97 kB / 0.724 GB, free: 11.23 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.1912, allocations: 24.28 kB / 0.724 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1912, allocations: 0 / 0.724 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.484e-05/0.1913, allocations: 99.2 kB / 0.7241 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.1913, allocations: 0 / 0.7241 GB, free: 11.11 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002836/0.1915, allocations: 15.95 kB / 0.7241 GB, free: 11.1 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 4
 * Array equations: 0
 * 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 Backend phase and start with SimCode phase: time 0.000124/0.1917, allocations: 107.2 kB / 0.7242 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005186/0.1922, allocations: 139.8 kB / 0.7243 GB, free: 10.85 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1922, allocations: 4 kB / 0.7243 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.1924, allocations: 83.89 kB / 0.7244 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1928, allocations: 8.25 kB / 0.7244 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.1933, allocations: 202.1 kB / 0.7246 GB, free: 10.53 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1936, allocations: 0.7041 MB / 0.7253 GB, free: 9.797 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 6.885e-05/0.1937, allocations: 19.98 kB / 0.7253 GB, free: 9.777 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.1937, allocations: 15.42 kB / 0.7253 GB, free: 9.762 MB / 0.545 GB
Notification: Performance of SimCode: time 3.01e-07/0.1937, allocations: 0 / 0.7253 GB, free: 9.762 MB / 0.545 GB
Notification: Performance of Templates: time 0.004053/0.1978, allocations: 1.283 MB / 0.7266 GB, free: 8.488 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.875944387167692]
Failed to read output from testmodel.py, exit status != 0:
0.20634018816053867 0.22029198100000003 0.033876186
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff1e93317b0>