Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001774/0.001774, 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.001923/0.001923, allocations: 189.4 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.308/1.308, allocations: 225.6 MB / 251.8 MB, free: 13.01 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.8766/0.8766, allocations: 149.6 MB / 456.6 MB, free: 1.199 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator")
translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 72.73 kB / 0.6328 GB, free: 9.016 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1773, allocations: 87.88 MB / 0.7187 GB, free: 1.062 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002096/0.1794, allocations: 0.6535 MB / 0.7193 GB, free: 424 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001082/0.1805, allocations: 0.8351 MB / 0.7201 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.1806, allocations: 0 / 0.7201 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1807, allocations: 7.922 kB / 0.7201 GB, free: 15.56 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.1807, allocations: 3.938 kB / 0.7201 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1809, allocations: 15.97 kB / 0.7201 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.000108/0.181, allocations: 39.86 kB / 0.7202 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1811, allocations: 4 kB / 0.7202 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.1811, allocations: 23.92 kB / 0.7202 GB, free: 15.47 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.1812, allocations: 19.91 kB / 0.7202 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1812, allocations: 4 kB / 0.7202 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.1813, allocations: 4 kB / 0.7202 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1813, allocations: 4 kB / 0.7202 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1814, allocations: 23.8 kB / 0.7203 GB, free: 15.42 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.00012/0.1815, allocations: 35.88 kB / 0.7203 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1815, allocations: 0 / 0.7203 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.082e-06/0.1815, allocations: 0 / 0.7203 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.911e-06/0.1815, allocations: 0 / 0.7203 GB, free: 15.38 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005024/0.182, allocations: 282.3 kB / 0.7206 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.182, allocations: 8.625 kB / 0.7206 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1821, allocations: 4.938 kB / 0.7206 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1822, allocations: 118.4 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1823, allocations: 4.375 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1823, allocations: 4.375 kB / 0.7207 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1825, allocations: 62.22 kB / 0.7208 GB, free: 14.85 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1825, allocations: 4.125 kB / 0.7208 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1825, allocations: 7.938 kB / 0.7208 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1825, allocations: 7.938 kB / 0.7208 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.1827, allocations: 43.95 kB / 0.7208 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.1831, allocations: 243.9 kB / 0.721 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1832, allocations: 42.5 kB / 0.7211 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.1833, allocations: 28.89 kB / 0.7211 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1833, allocations: 3.984 kB / 0.7211 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1834, allocations: 34.56 kB / 0.7212 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1834, allocations: 0 / 0.7212 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2): time 0.0003483/0.1837, allocations: 81.77 kB / 0.7212 GB, free: 14.29 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1838, allocations: 59.41 kB / 0.7213 GB, free: 14.22 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.009e-05/0.1838, allocations: 105.8 kB / 0.7214 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1839, allocations: 25.7 kB / 0.7214 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.1839, allocations: 88.09 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.1839, allocations: 7.953 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.184, allocations: 17.7 kB / 0.7215 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001222/0.1841, allocations: 314.8 kB / 0.7218 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.1842, allocations: 27.97 kB / 0.7218 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.1842, allocations: 16.23 kB / 0.7219 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1844, allocations: 44.81 kB / 0.7219 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1844, allocations: 4 kB / 0.7219 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.1846, allocations: 73.72 kB / 0.722 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1846, allocations: 5.719 kB / 0.722 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1846, allocations: 3.938 kB / 0.722 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1846, allocations: 3.938 kB / 0.722 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1847, allocations: 11.98 kB / 0.722 GB, free: 13.44 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1848, allocations: 0 / 0.722 GB, free: 13.44 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1848, allocations: 4 kB / 0.722 GB, free: 13.44 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1848, allocations: 3.938 kB / 0.722 GB, free: 13.43 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (intRep.y[3])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 2
 * 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.0001278/0.1849, allocations: 125.8 kB / 0.7221 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.185, allocations: 0 / 0.7221 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.185, allocations: 11.31 kB / 0.7221 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.185, allocations: 0 / 0.7221 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.185, allocations: 0 / 0.7221 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.185, allocations: 0 / 0.7221 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1852, allocations: 140.7 kB / 0.7223 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1852, allocations: 0 / 0.7223 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/0.1852, allocations: 15.98 kB / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1852, allocations: 0 / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1852, allocations: 4 kB / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1852, allocations: 0 / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1852, allocations: 0 / 0.7223 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1855, allocations: 175.3 kB / 0.7225 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.744e-06/0.1855, allocations: 3.984 kB / 0.7225 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1855, allocations: 0 / 0.7225 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.1856, allocations: 8.031 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1856, allocations: 7.984 kB / 0.7225 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1856, allocations: 0 / 0.7225 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.616e-05/0.1857, allocations: 83.28 kB / 0.7226 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1857, allocations: 0 / 0.7226 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002064/0.1859, allocations: 7.938 kB / 0.7226 GB, free: 12.79 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: 1 (intRep.y[3])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * 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.0001038/0.186, allocations: 99.23 kB / 0.7227 GB, free: 12.68 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002347/0.1862, allocations: 51.89 kB / 0.7227 GB, free: 12.63 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1862, allocations: 0 / 0.7227 GB, free: 12.63 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1863, allocations: 19.92 kB / 0.7227 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1866, allocations: 8 kB / 0.7227 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.1869, allocations: 117.5 kB / 0.7229 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1871, allocations: 0.6847 MB / 0.7235 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.269e-05/0.1872, allocations: 4 kB / 0.7235 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1872, allocations: 7.438 kB / 0.7235 GB, free: 11.74 MB / 0.545 GB
Notification: Performance of SimCode: time 3.11e-07/0.1872, allocations: 0 / 0.7235 GB, free: 11.74 MB / 0.545 GB
Notification: Performance of Templates: time 0.002876/0.1901, allocations: 0.6395 MB / 0.7242 GB, free: 11.11 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.016086304560304]
Failed to read output from testmodel.py, exit status != 0:
0.197806803509593 0.210518483 0.026250386
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc64ced97b0>