Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7422/0.7422, allocations: 128.7 MB / 144.5 MB, free: 1.387 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 186.6 kB / 174.2 MB, free: 5.973 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205 MB / 408.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 102 kB / 485.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 56.98 kB / 0.558 GB, free: 97.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1738, allocations: 75.47 MB / 0.6317 GB, free: 33.1 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003243/0.1771, allocations: 1.82 MB / 0.6335 GB, free: 31.26 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1785, allocations: 1.026 MB / 0.6345 GB, free: 30.22 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.1786, allocations: 0 / 0.6345 GB, free: 30.22 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.179, allocations: 55.81 kB / 0.6345 GB, free: 30.17 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.1792, allocations: 67.73 kB / 0.6346 GB, free: 30.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.1797, allocations: 179.4 kB / 0.6347 GB, free: 29.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1798, allocations: 139.6 kB / 0.6349 GB, free: 29.79 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.18, allocations: 13.12 kB / 0.6349 GB, free: 29.78 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.1801, allocations: 63.7 kB / 0.635 GB, free: 29.72 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.1802, allocations: 63.69 kB / 0.635 GB, free: 29.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1802, allocations: 0 / 0.635 GB, free: 29.66 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1803, allocations: 63.97 kB / 0.6351 GB, free: 29.59 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1804, allocations: 35.89 kB / 0.6351 GB, free: 29.56 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.1805, allocations: 59.55 kB / 0.6352 GB, free: 29.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1807, allocations: 191.7 kB / 0.6353 GB, free: 29.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1807, allocations: 0 / 0.6353 GB, free: 29.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1807, allocations: 0 / 0.6353 GB, free: 29.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1807, allocations: 0 / 0.6353 GB, free: 29.31 MB / 442.7 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.000599/0.1813, allocations: 488.4 kB / 0.6358 GB, free: 28.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1814, allocations: 8.031 kB / 0.6358 GB, free: 28.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.1814, allocations: 16.75 kB / 0.6358 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1817, allocations: 264.8 kB / 0.6361 GB, free: 28.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1817, allocations: 384 / 0.6361 GB, free: 28.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1817, allocations: 16.11 kB / 0.6361 GB, free: 28.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1819, allocations: 92.17 kB / 0.6362 GB, free: 28.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.182, allocations: 4 kB / 0.6362 GB, free: 28.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.182, allocations: 3.938 kB / 0.6362 GB, free: 28.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.182, allocations: 4 kB / 0.6362 GB, free: 28.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-05/0.1821, allocations: 43.91 kB / 0.6362 GB, free: 28.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1825, allocations: 356.6 kB / 0.6366 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1828, allocations: 86.7 kB / 0.6367 GB, free: 27.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.1828, allocations: 32.84 kB / 0.6367 GB, free: 27.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1829, allocations: 4 kB / 0.6367 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.1831, allocations: 79.38 kB / 0.6368 GB, free: 27.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.1831, allocations: 0 / 0.6368 GB, free: 27.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003219/0.1834, allocations: 141.4 kB / 0.6369 GB, free: 27.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1835, allocations: 102.8 kB / 0.637 GB, free: 27.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1837, allocations: 259 kB / 0.6373 GB, free: 27.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1837, allocations: 41.69 kB / 0.6373 GB, free: 27.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.1838, allocations: 116.1 kB / 0.6374 GB, free: 26.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1838, allocations: 23.66 kB / 0.6374 GB, free: 26.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.1838, allocations: 25.7 kB / 0.6375 GB, free: 26.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.439e-05/0.1839, allocations: 330.8 kB / 0.6378 GB, free: 26.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.184, allocations: 27.98 kB / 0.6378 GB, free: 26.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.1841, allocations: 72.27 kB / 0.6379 GB, free: 26.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1842, allocations: 69.64 kB / 0.6379 GB, free: 26.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1842, allocations: 0 / 0.6379 GB, free: 26.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.1844, allocations: 113.8 kB / 0.638 GB, free: 26.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1844, allocations: 7.938 kB / 0.6381 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1844, allocations: 0 / 0.6381 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1844, allocations: 0 / 0.6381 GB, free: 26.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.1845, allocations: 15.98 kB / 0.6381 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1846, allocations: 8.094 kB / 0.6381 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.1846, allocations: 7.938 kB / 0.6381 GB, free: 26.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1846, allocations: 4 kB / 0.6381 GB, free: 26.23 MB / 442.7 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.0001036/0.1847, allocations: 142.7 kB / 0.6382 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.1848, allocations: 15.81 kB / 0.6382 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1848, allocations: 21.34 kB / 0.6383 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1848, allocations: 3.938 kB / 0.6383 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1848, allocations: 0 / 0.6383 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1849, allocations: 15.92 kB / 0.6383 GB, free: 26.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.185, allocations: 221.5 kB / 0.6385 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.185, allocations: 0 / 0.6385 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1851, allocations: 7.938 kB / 0.6385 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1851, allocations: 0 / 0.6385 GB, free: 25.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1851, allocations: 8 kB / 0.6385 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1851, allocations: 0 / 0.6385 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1851, allocations: 0 / 0.6385 GB, free: 25.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.1855, allocations: 0.7564 MB / 0.6392 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1856, allocations: 88.92 kB / 0.6393 GB, free: 24.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.1856, allocations: 3.938 kB / 0.6393 GB, free: 24.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.1856, allocations: 11.98 kB / 0.6393 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.1857, allocations: 7.984 kB / 0.6393 GB, free: 24.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1857, allocations: 4 kB / 0.6394 GB, free: 24.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1858, allocations: 196.4 kB / 0.6395 GB, free: 24.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1859, allocations: 0 / 0.6395 GB, free: 24.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000334/0.1862, allocations: 39.98 kB / 0.6396 GB, free: 24.57 MB / 442.7 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.0009419/0.1871, allocations: 435.2 kB / 0.64 GB, free: 24.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1874, allocations: 67.91 kB / 0.6401 GB, free: 24.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1874, allocations: 0 / 0.6401 GB, free: 24.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.1875, allocations: 35.98 kB / 0.6401 GB, free: 24.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1878, allocations: 39.84 kB / 0.6401 GB, free: 24.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.1883, allocations: 459.5 kB / 0.6406 GB, free: 23.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.1885, allocations: 0.7281 MB / 0.6413 GB, free: 22.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.1885, allocations: 21.38 kB / 0.6413 GB, free: 22.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.1886, allocations: 23.42 kB / 0.6413 GB, free: 22.88 MB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1886, allocations: 0 / 0.6413 GB, free: 22.88 MB / 442.7 MB Notification: Performance of Templates: time 0.004992/0.1936, allocations: 2.501 MB / 0.6438 GB, free: 20.39 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)