Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.288/1.288, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008739/0.0008736, allocations: 177 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006909/0.0006909, allocations: 89.88 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 11.59 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1597, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.00165/0.1613, allocations: 1.506 MB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1625, allocations: 1.027 MB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.1625, allocations: 0 / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1628, allocations: 51.81 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.163, allocations: 71.72 kB / 0.8993 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.1634, allocations: 174.5 kB / 0.8995 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.1635, allocations: 139.6 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.1636, allocations: 21.06 kB / 0.8997 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.1637, allocations: 59.7 kB / 0.8997 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.1638, allocations: 63.69 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1638, allocations: 0 / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1639, allocations: 59.97 kB / 0.8998 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1639, allocations: 35.83 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.164, allocations: 59.61 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1642, allocations: 183.5 kB / 0.9001 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1642, allocations: 0 / 0.9001 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1642, allocations: 0 / 0.9001 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1642, allocations: 0 / 0.9001 GB, free: 64.69 MB / 0.6042 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.0004401/0.1646, allocations: 472.3 kB / 0.9005 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1647, allocations: 12.03 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1647, allocations: 16.75 kB / 0.9006 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1649, allocations: 252.8 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.165, allocations: 12.36 kB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.165, allocations: 8.125 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1651, allocations: 96.17 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.1652, allocations: 0 / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1652, allocations: 3.938 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1652, allocations: 0 / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.1653, allocations: 35.97 kB / 0.901 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.1656, allocations: 352.7 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1658, allocations: 86.69 kB / 0.9014 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.1659, allocations: 36.84 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.1659, allocations: 0 / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1661, allocations: 87.36 kB / 0.9015 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1661, allocations: 0 / 0.9015 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0002777/0.1664, allocations: 141.4 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.1664, allocations: 102.8 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1666, allocations: 263.7 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.1666, allocations: 29.64 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.1666, allocations: 116.1 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1667, allocations: 31.62 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.1667, allocations: 17.72 kB / 0.9022 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.1667, allocations: 330.8 kB / 0.9025 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.1668, allocations: 27.98 kB / 0.9025 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.1669, allocations: 68.27 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.167, allocations: 73.64 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.167, allocations: 0 / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001671/0.1672, allocations: 117.4 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1672, allocations: 6.5 kB / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1672, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1672, allocations: 0 / 0.9028 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.1673, allocations: 12 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1673, allocations: 0 / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.1674, allocations: 7.984 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1674, allocations: 11.97 kB / 0.9028 GB, free: 61.65 MB / 0.6042 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 8.083e-05/0.1675, allocations: 142.5 kB / 0.9029 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.1675, allocations: 11.81 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1675, allocations: 21.39 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1676, allocations: 4 kB / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1676, allocations: 0 / 0.903 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.1676, allocations: 92.92 kB / 0.9031 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1676, allocations: 8.125 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.1677, allocations: 15.92 kB / 0.9031 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1677, allocations: 7.938 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000185/0.1679, allocations: 189.3 kB / 0.9033 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001918/0.1681, allocations: 294.6 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.468e-05/0.1682, allocations: 35.92 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000112/0.1683, allocations: 200.4 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of Backend: time 2.6e-07/0.1683, allocations: 0 / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.1694, allocations: 460.7 kB / 0.9042 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000465/0.1699, allocations: 0.7599 MB / 0.905 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.004044/0.174, allocations: 2.459 MB / 0.9074 GB, free: 57.06 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)