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.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.001348/0.001348, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001491/0.001491, allocations: 212.3 kB / 23.75 MB, free: 4.445 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9667/0.9667, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA 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.002242/0.002242, allocations: 62.94 kB / 0.6423 GB, free: 9.668 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.176, allocations: 89.17 MB / 0.7294 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003237/0.1793, allocations: 1.769 MB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.1815, allocations: 1.181 MB / 0.7323 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.1816, allocations: 3.938 kB / 0.7323 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1819, allocations: 59.73 kB / 0.7323 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1822, allocations: 123.5 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.1828, allocations: 198.8 kB / 0.7326 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.183, allocations: 155.6 kB / 0.7328 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1831, allocations: 21.56 kB / 0.7328 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1833, allocations: 67.7 kB / 0.7329 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1834, allocations: 71.67 kB / 0.7329 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1834, allocations: 8 kB / 0.7329 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.1836, allocations: 75.94 kB / 0.733 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.1837, allocations: 43.83 kB / 0.7331 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.1837, allocations: 47.67 kB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1841, allocations: 211.2 kB / 0.7333 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1841, allocations: 0 / 0.7333 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1841, allocations: 0 / 0.7333 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.1841, allocations: 0 / 0.7333 GB, free: 12.53 MB / 0.5606 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.0006966/0.1848, allocations: 426.9 kB / 0.7337 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1848, allocations: 12.03 kB / 0.7337 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.1849, allocations: 20.83 kB / 0.7337 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1853, allocations: 194.1 kB / 0.7339 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1853, allocations: 384 / 0.7339 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1853, allocations: 8.125 kB / 0.7339 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1855, allocations: 121.1 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1855, allocations: 0 / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1855, allocations: 4 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1856, allocations: 3.938 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1857, allocations: 39.97 kB / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.1862, allocations: 292.4 kB / 0.7344 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1864, allocations: 86.69 kB / 0.7345 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.1865, allocations: 32.84 kB / 0.7345 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1865, allocations: 4 kB / 0.7345 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1867, allocations: 83.38 kB / 0.7346 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.1867, allocations: 4 kB / 0.7346 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003875/0.1871, allocations: 149.5 kB / 0.7347 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.1872, allocations: 81.05 kB / 0.7348 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.1875, allocations: 279.1 kB / 0.7351 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1875, allocations: 25.7 kB / 0.7351 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.1876, allocations: 116.1 kB / 0.7352 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1876, allocations: 23.8 kB / 0.7352 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.1877, allocations: 25.7 kB / 0.7352 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1879, allocations: 342.7 kB / 0.7356 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.1879, allocations: 23.98 kB / 0.7356 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1881, allocations: 118.8 kB / 0.7357 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1882, allocations: 77.94 kB / 0.7358 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1882, allocations: 0 / 0.7358 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002413/0.1885, allocations: 121.5 kB / 0.7359 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1885, allocations: 8 kB / 0.7359 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1885, allocations: 0 / 0.7359 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1885, allocations: 4.062 kB / 0.7359 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1886, allocations: 15.98 kB / 0.7359 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1886, allocations: 0 / 0.7359 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.1887, allocations: 4 kB / 0.7359 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1887, allocations: 0 / 0.7359 GB, free: 9.605 MB / 0.5606 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.0001493/0.1889, allocations: 149.8 kB / 0.7361 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1889, allocations: 19.86 kB / 0.7361 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.1892, allocations: 131 kB / 0.7362 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.1892, allocations: 7.984 kB / 0.7362 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1892, allocations: 4 kB / 0.7362 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1892, allocations: 0 / 0.7362 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1894, allocations: 169.1 kB / 0.7364 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1894, allocations: 0 / 0.7364 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.1894, allocations: 8 kB / 0.7364 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1894, allocations: 0 / 0.7364 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1895, allocations: 3.984 kB / 0.7364 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1895, allocations: 4 kB / 0.7364 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1895, allocations: 3.938 kB / 0.7364 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1897, allocations: 157 kB / 0.7366 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.1898, allocations: 23.84 kB / 0.7366 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.1898, allocations: 8 kB / 0.7366 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.1899, allocations: 4 kB / 0.7366 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.1899, allocations: 7.984 kB / 0.7366 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1899, allocations: 4 kB / 0.7366 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002197/0.1902, allocations: 212.5 kB / 0.7368 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1902, allocations: 3.938 kB / 0.7368 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002647/0.1904, allocations: 35.92 kB / 0.7368 GB, free: 8.605 MB / 0.5606 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 (8): * Single equations (assignments): 5 * 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.001713/0.1921, allocations: 449.5 kB / 0.7373 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1924, allocations: 79.78 kB / 0.7374 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1924, allocations: 0 / 0.7374 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.1925, allocations: 31.98 kB / 0.7374 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1928, allocations: 37.77 kB / 0.7374 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.1934, allocations: 344.4 kB / 0.7377 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.1935, allocations: 118.6 kB / 0.7379 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.1936, allocations: 19.38 kB / 0.7379 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1936, allocations: 0 / 0.7379 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of Templates: time 0.005208/0.1988, allocations: 2.723 MB / 0.7405 GB, free: 4.996 MB / 0.5606 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: 8.769023110158741] Failed to read output from testmodel.py, exit status != 0: 0.20791158406063914 0.22215673700000002 0.034859791 Calling exit ...