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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 105.4 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7202/0.7202, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 68.84 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1761, allocations: 76.17 MB / 0.6321 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003753/0.1799, allocations: 1.767 MB / 0.6338 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1819, allocations: 1.104 MB / 0.6349 GB, free: 1.602 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1821, allocations: 4 kB / 0.6349 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1824, allocations: 55.73 kB / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.1827, allocations: 83.66 kB / 0.635 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.1834, allocations: 232.5 kB / 0.6352 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1836, allocations: 143.6 kB / 0.6354 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1837, allocations: 33.08 kB / 0.6354 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1838, allocations: 59.72 kB / 0.6355 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.184, allocations: 63.75 kB / 0.6355 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.184, allocations: 8 kB / 0.6355 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1842, allocations: 71.94 kB / 0.6356 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.1843, allocations: 43.84 kB / 0.6356 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.35e-05/0.1844, allocations: 59.59 kB / 0.6357 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.1847, allocations: 203.4 kB / 0.6359 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1847, allocations: 0 / 0.6359 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1848, allocations: 0 / 0.6359 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1848, allocations: 0 / 0.6359 GB, free: 0.5664 MB / 478.1 MB 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.0007419/0.1855, allocations: 0.4885 MB / 0.6364 GB, free: 24 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1856, allocations: 12.02 kB / 0.6364 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/0.1857, allocations: 16.92 kB / 0.6364 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.186, allocations: 245 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1861, allocations: 4.375 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1861, allocations: 8.125 kB / 0.6366 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1863, allocations: 100.2 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1863, allocations: 0 / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1863, allocations: 0 / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.1864, allocations: 4 kB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1865, allocations: 27.98 kB / 0.6368 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.187, allocations: 364.5 kB / 0.6371 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.1873, allocations: 90.66 kB / 0.6372 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.1874, allocations: 32.84 kB / 0.6372 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1874, allocations: 0 / 0.6372 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.1876, allocations: 91.39 kB / 0.6373 GB, free: 14.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.1876, allocations: 3.938 kB / 0.6373 GB, free: 14.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003695/0.188, allocations: 137.5 kB / 0.6375 GB, free: 14.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.1881, allocations: 102.8 kB / 0.6376 GB, free: 14.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.1884, allocations: 263 kB / 0.6378 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1884, allocations: 29.7 kB / 0.6378 GB, free: 14.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1885, allocations: 116.1 kB / 0.6379 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.1885, allocations: 19.7 kB / 0.638 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.1886, allocations: 33.7 kB / 0.638 GB, free: 14.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1887, allocations: 330.8 kB / 0.6383 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.1888, allocations: 27.98 kB / 0.6383 GB, free: 13.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1889, allocations: 68.2 kB / 0.6384 GB, free: 13.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1891, allocations: 70.02 kB / 0.6385 GB, free: 13.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1891, allocations: 3.938 kB / 0.6385 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000231/0.1893, allocations: 117.4 kB / 0.6386 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1894, allocations: 9.406 kB / 0.6386 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1894, allocations: 0 / 0.6386 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1894, allocations: 0 / 0.6386 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1895, allocations: 12 kB / 0.6386 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1895, allocations: 0 / 0.6386 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.1896, allocations: 19.86 kB / 0.6386 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1896, allocations: 4 kB / 0.6386 GB, free: 13.48 MB / 494.1 MB 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.0001453/0.1898, allocations: 145.8 kB / 0.6388 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.1898, allocations: 19.84 kB / 0.6388 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.1899, allocations: 21.39 kB / 0.6388 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1899, allocations: 0 / 0.6388 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1899, allocations: 0 / 0.6388 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1899, allocations: 7.938 kB / 0.6388 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.1902, allocations: 225.5 kB / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1902, allocations: 0 / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.1902, allocations: 4 kB / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1902, allocations: 4 kB / 0.639 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1902, allocations: 7.984 kB / 0.639 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1903, allocations: 0 / 0.639 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1903, allocations: 0 / 0.639 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1905, allocations: 144.8 kB / 0.6392 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.1906, allocations: 85.02 kB / 0.6393 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.1906, allocations: 4.188 kB / 0.6393 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.1907, allocations: 12 kB / 0.6393 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.1908, allocations: 15.91 kB / 0.6393 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1908, allocations: 11.94 kB / 0.6393 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.191, allocations: 204.1 kB / 0.6395 GB, free: 12.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.191, allocations: 0 / 0.6395 GB, free: 12.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1913, allocations: 31.84 kB / 0.6395 GB, free: 12.45 MB / 494.1 MB 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.001127/0.1924, allocations: 409.8 kB / 0.6399 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.1927, allocations: 75.89 kB / 0.64 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1927, allocations: 0 / 0.64 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.1928, allocations: 39.97 kB / 0.64 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1931, allocations: 47.97 kB / 0.6401 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.1937, allocations: 283 kB / 0.6403 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.194, allocations: 0.7241 MB / 0.6411 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.493e-05/0.1941, allocations: 25.38 kB / 0.6411 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.1942, allocations: 23.42 kB / 0.6411 GB, free: 10.95 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1942, allocations: 0 / 0.6411 GB, free: 10.95 MB / 494.1 MB Notification: Performance of Templates: time 0.006053/0.2002, allocations: 2.534 MB / 0.6436 GB, free: 8.438 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (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)