Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002548/0.002552, allocations: 358.4 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.432/1.432, allocations: 165.8 MB / 183.1 MB, free: 5.469 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.751/3.751, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 185.8 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004623, allocations: 15.98 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002107/0.4021, allocations: 1.451 MB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.404, allocations: 0.9147 MB / 0.811 GB, free: 26.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.4041, allocations: 0 / 0.811 GB, free: 26.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.4044, allocations: 51.75 kB / 0.8111 GB, free: 26.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.4047, allocations: 59.73 kB / 0.8112 GB, free: 26.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.4054, allocations: 170.7 kB / 0.8113 GB, free: 26.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.4056, allocations: 123.6 kB / 0.8114 GB, free: 26.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4057, allocations: 21.11 kB / 0.8115 GB, free: 26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.4058, allocations: 51.75 kB / 0.8115 GB, free: 25.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.4059, allocations: 51.77 kB / 0.8116 GB, free: 25.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.406, allocations: 4 kB / 0.8116 GB, free: 25.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.4061, allocations: 59.78 kB / 0.8116 GB, free: 25.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.4062, allocations: 39.89 kB / 0.8117 GB, free: 25.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.4063, allocations: 45.64 kB / 0.8117 GB, free: 25.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.4065, allocations: 149.8 kB / 0.8118 GB, free: 25.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4065, allocations: 0 / 0.8118 GB, free: 25.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4065, allocations: 0 / 0.8118 GB, free: 25.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4065, allocations: 3.938 kB / 0.8118 GB, free: 25.6 MB / 378.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.0006232/0.4072, allocations: 460.3 kB / 0.8123 GB, free: 25.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4072, allocations: 12.03 kB / 0.8123 GB, free: 25.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.4073, allocations: 19.8 kB / 0.8123 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.4076, allocations: 243.6 kB / 0.8125 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4076, allocations: 4 kB / 0.8125 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.4077, allocations: 11.95 kB / 0.8126 GB, free: 24.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.4079, allocations: 92.17 kB / 0.8126 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4079, allocations: 0 / 0.8126 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.408, allocations: 0 / 0.8126 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.408, allocations: 7.984 kB / 0.8127 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.4082, allocations: 35.98 kB / 0.8127 GB, free: 24.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.4087, allocations: 356.6 kB / 0.813 GB, free: 24.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.409, allocations: 86.67 kB / 0.8131 GB, free: 24.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.4091, allocations: 36.84 kB / 0.8131 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.4092, allocations: 3.984 kB / 0.8132 GB, free: 24.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.4094, allocations: 83.36 kB / 0.8132 GB, free: 23.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/0.4094, allocations: 0 / 0.8132 GB, free: 23.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005028/0.4099, allocations: 145.4 kB / 0.8134 GB, free: 23.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.41, allocations: 102.8 kB / 0.8135 GB, free: 23.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.4104, allocations: 267 kB / 0.8137 GB, free: 23.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.4105, allocations: 25.7 kB / 0.8137 GB, free: 23.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4106, allocations: 116.1 kB / 0.8139 GB, free: 23.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.4106, allocations: 23.66 kB / 0.8139 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.4107, allocations: 4 kB / 0.8139 GB, free: 23.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.4108, allocations: 334.8 kB / 0.8142 GB, free: 22.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4109, allocations: 27.92 kB / 0.8142 GB, free: 22.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.411, allocations: 68.22 kB / 0.8143 GB, free: 22.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.4112, allocations: 31.98 kB / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4112, allocations: 0 / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003038/0.4115, allocations: 117.4 kB / 0.8144 GB, free: 22.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4115, allocations: 4 kB / 0.8144 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4115, allocations: 4 kB / 0.8144 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4116, allocations: 0 / 0.8144 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4117, allocations: 16.02 kB / 0.8145 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4117, allocations: 4 kB / 0.8145 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4119, allocations: 4 kB / 0.8145 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.4119, allocations: 4 kB / 0.8145 GB, free: 22.64 MB / 378.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 ($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.0001395/0.412, allocations: 147.6 kB / 0.8146 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.4121, allocations: 19.8 kB / 0.8146 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.4121, allocations: 17.41 kB / 0.8146 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4121, allocations: 0 / 0.8146 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4122, allocations: 4 kB / 0.8147 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.4122, allocations: 100.9 kB / 0.8147 GB, free: 22.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.4123, allocations: 7.984 kB / 0.8148 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.4124, allocations: 4 kB / 0.8148 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.4124, allocations: 11.94 kB / 0.8148 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003337/0.4128, allocations: 180.9 kB / 0.8149 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003374/0.4131, allocations: 298.5 kB / 0.8152 GB, free: 21.81 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001188/0.4133, allocations: 35.97 kB / 0.8153 GB, free: 21.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.4135, allocations: 192.4 kB / 0.8154 GB, free: 21.59 MB / 378.7 MB Notification: Performance of Backend: time 7.21e-07/0.4135, allocations: 0 / 0.8154 GB, free: 21.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.4152, allocations: 466.4 kB / 0.8159 GB, free: 21.29 MB / 378.7 MB Notification: Performance of SimCode: time 0.0008048/0.416, allocations: 0.7534 MB / 0.8166 GB, free: 20.49 MB / 378.7 MB Notification: Performance of Templates: time 0.007373/0.4234, allocations: 2.394 MB / 0.819 GB, free: 18.12 MB / 378.7 MB