Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001297/0.001297, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001727/0.001727, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.151/1.151, allocations: 173.4 MB / 471.3 MB, free: 6.633 MB / 366.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-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(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 65.23 kB / 0.649 GB, free: 22.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1738, allocations: 89.52 MB / 0.7364 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003274/0.1771, allocations: 1.765 MB / 0.7381 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.179, allocations: 1.115 MB / 0.7392 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.1791, allocations: 0 / 0.7392 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.1794, allocations: 55.73 kB / 0.7393 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1797, allocations: 75.67 kB / 0.7394 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1803, allocations: 230.5 kB / 0.7396 GB, free: 376 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1805, allocations: 147.7 kB / 0.7397 GB, free: 228 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1806, allocations: 21.05 kB / 0.7397 GB, free: 204 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1808, allocations: 67.69 kB / 0.7398 GB, free: 136 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1809, allocations: 67.69 kB / 0.7399 GB, free: 68 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1809, allocations: 8 kB / 0.7399 GB, free: 60 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1811, allocations: 72.05 kB / 0.7399 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.1812, allocations: 35.91 kB / 0.74 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.1813, allocations: 63.45 kB / 0.74 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1816, allocations: 199.2 kB / 0.7402 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1816, allocations: 0 / 0.7402 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1816, allocations: 0 / 0.7402 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1816, allocations: 0 / 0.7402 GB, free: 15.7 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.0007222/0.1824, allocations: 0.4922 MB / 0.7407 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1824, allocations: 8.031 kB / 0.7407 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.96e-05/0.1825, allocations: 20.84 kB / 0.7407 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1829, allocations: 253 kB / 0.741 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1829, allocations: 8.375 kB / 0.741 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1829, allocations: 8.125 kB / 0.741 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1831, allocations: 92.17 kB / 0.7411 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1832, allocations: 0 / 0.7411 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1832, allocations: 4 kB / 0.7411 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.1832, allocations: 0 / 0.7411 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1833, allocations: 39.91 kB / 0.7411 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.1839, allocations: 360.6 kB / 0.7415 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.1841, allocations: 90.69 kB / 0.7416 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.1842, allocations: 32.84 kB / 0.7416 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1843, allocations: 3.984 kB / 0.7416 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1844, allocations: 83.38 kB / 0.7417 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.1845, allocations: 0 / 0.7417 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003788/0.1848, allocations: 145.5 kB / 0.7418 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.1849, allocations: 102.8 kB / 0.7419 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1852, allocations: 262.9 kB / 0.7422 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1853, allocations: 29.7 kB / 0.7422 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.1854, allocations: 116.1 kB / 0.7423 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1854, allocations: 27.84 kB / 0.7423 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.1854, allocations: 21.72 kB / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1856, allocations: 334.8 kB / 0.7427 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.1857, allocations: 27.98 kB / 0.7427 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1858, allocations: 68.22 kB / 0.7428 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.186, allocations: 74 kB / 0.7428 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.186, allocations: 0 / 0.7428 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002398/0.1862, allocations: 121.7 kB / 0.7429 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1863, allocations: 5.719 kB / 0.7429 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1863, allocations: 3.938 kB / 0.7429 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1863, allocations: 0 / 0.7429 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.1864, allocations: 15.98 kB / 0.743 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1864, allocations: 0 / 0.743 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.1865, allocations: 11.88 kB / 0.743 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1865, allocations: 8.031 kB / 0.743 GB, free: 12.59 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.0001461/0.1866, allocations: 137.8 kB / 0.7431 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.1867, allocations: 19.84 kB / 0.7431 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.1867, allocations: 21.39 kB / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1867, allocations: 0 / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1868, allocations: 4 kB / 0.7432 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1868, allocations: 7.875 kB / 0.7432 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.187, allocations: 221.5 kB / 0.7434 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.187, allocations: 4 kB / 0.7434 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.1871, allocations: 11.98 kB / 0.7434 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1871, allocations: 0 / 0.7434 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1871, allocations: 4 kB / 0.7434 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1871, allocations: 0 / 0.7434 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1871, allocations: 0 / 0.7434 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1874, allocations: 144.9 kB / 0.7435 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.1875, allocations: 93.02 kB / 0.7436 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.1875, allocations: 4 kB / 0.7436 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.1875, allocations: 7.984 kB / 0.7436 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1876, allocations: 15.92 kB / 0.7436 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1876, allocations: 7.938 kB / 0.7437 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002054/0.1878, allocations: 196.4 kB / 0.7438 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1878, allocations: 0 / 0.7438 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002482/0.1881, allocations: 35.92 kB / 0.7439 GB, free: 11.57 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * 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.1897, allocations: 435.6 kB / 0.7443 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.1899, allocations: 67.97 kB / 0.7444 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1899, allocations: 0 / 0.7444 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.19, allocations: 39.92 kB / 0.7444 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.1903, allocations: 34.16 kB / 0.7444 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.1909, allocations: 324.3 kB / 0.7447 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1913, allocations: 0.728 MB / 0.7454 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.1914, allocations: 15.44 kB / 0.7455 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1914, allocations: 0 / 0.7455 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.004925/0.1963, allocations: 2.616 MB / 0.748 GB, free: 7.449 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.489791888045147] Failed to read output from testmodel.py, exit status != 0: 0.20291980006732047 0.216098213 0.031989572 Calling exit ...