Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.058/5.058, allocations: 0.5623 GB / 0.5776 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002511/0.002511, allocations: 358.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.665/4.665, allocations: 410.7 MB / 1.113 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001843/0.001842, allocations: 174.6 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004843, allocations: 19.98 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7763, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002238/0.7786, allocations: 1.457 MB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.7805, allocations: 0.9212 MB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.7806, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.781, allocations: 47.81 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.7813, allocations: 68.25 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.782, allocations: 175.1 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.7822, allocations: 123.6 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.7824, allocations: 20.05 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.7825, allocations: 43.78 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.7826, allocations: 56.53 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.7826, allocations: 5.594 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.7828, allocations: 59.83 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.7829, allocations: 27.91 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.783, allocations: 49.64 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.7832, allocations: 150.3 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.7832, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7832, allocations: 1.562 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.7832, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 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.0006422/0.7839, allocations: 469 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.784, allocations: 11.62 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.784, allocations: 20.36 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.7843, allocations: 249.3 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.7844, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.7844, allocations: 4 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.7847, allocations: 97.77 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7847, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.7847, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.7848, allocations: 11.05 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.7849, allocations: 35.92 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.7855, allocations: 354.3 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.7859, allocations: 85.11 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.786, allocations: 28.84 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.786, allocations: 8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.7863, allocations: 90.5 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/0.7863, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004884/0.7868, allocations: 137.5 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.7869, allocations: 102.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.7872, allocations: 263.5 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.7872, allocations: 29.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.7873, allocations: 116.1 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.7874, allocations: 19.66 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/0.7874, allocations: 4 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.7875, allocations: 328.3 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.7876, allocations: 23.94 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.7877, allocations: 78.86 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.7879, allocations: 35.97 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7879, allocations: 0 / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003111/0.7882, allocations: 111.4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.7882, allocations: 11.59 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7882, allocations: 4.344 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.7883, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.7884, allocations: 15.98 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7885, allocations: 1.812 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.7886, allocations: 4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.7886, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.7888, allocations: 146.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.7888, allocations: 16.53 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/0.7889, allocations: 29.31 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.7889, allocations: 5.203 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7889, allocations: 0 / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.789, allocations: 104.8 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.789, allocations: 0.7188 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.7892, allocations: 5.547 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.7893, allocations: 12.73 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003579/0.7896, allocations: 186.3 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003472/0.79, allocations: 295.6 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001202/0.7901, allocations: 37.25 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002186/0.7904, allocations: 194.1 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Backend: time 8.72e-07/0.7904, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001764/0.7922, allocations: 456 kB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0008485/0.793, allocations: 0.7487 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.007707/0.8008, allocations: 2.394 MB / 1.472 GB, free: 273.9 MB / 0.8542 GB