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.001465/0.001465, allocations: 187.3 kB / 15.77 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 82.93 MB / 99.42 MB, free: 3.324 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.52/2.52, allocations: 205.4 MB / 325.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.66 kB / 393.6 MB, free: 76 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.000455, allocations: 12 kB / 471.5 MB, free: 66.72 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.0902, allocations: 67.45 MB / 0.5263 GB, free: 15.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00241/0.09266, allocations: 1.44 MB / 0.5278 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.09463, allocations: 0.9253 MB / 0.5287 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.792e-05/0.09477, allocations: 0 / 0.5287 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.09507, allocations: 47.81 kB / 0.5287 GB, free: 12.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.09532, allocations: 59.8 kB / 0.5288 GB, free: 12.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007123/0.09605, allocations: 174.6 kB / 0.5289 GB, free: 12.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.09626, allocations: 79.84 kB / 0.529 GB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.09638, allocations: 33.08 kB / 0.529 GB, free: 12.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.09651, allocations: 51.77 kB / 0.5291 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.09664, allocations: 51.75 kB / 0.5291 GB, free: 12.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.09667, allocations: 4 kB / 0.5291 GB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.09686, allocations: 47.92 kB / 0.5292 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.09695, allocations: 31.89 kB / 0.5292 GB, free: 12.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.09703, allocations: 49.62 kB / 0.5293 GB, free: 12.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.09731, allocations: 151.9 kB / 0.5294 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.078e-06/0.09733, allocations: 0 / 0.5294 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.216e-06/0.09734, allocations: 0 / 0.5294 GB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.686e-06/0.09736, allocations: 0 / 0.5294 GB, free: 12.09 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.0007225/0.09809, allocations: 464.2 kB / 0.5298 GB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.09815, allocations: 12.02 kB / 0.5299 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.09822, allocations: 23.72 kB / 0.5299 GB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.09861, allocations: 239.8 kB / 0.5301 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.09865, allocations: 4 kB / 0.5301 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.09868, allocations: 7.953 kB / 0.5301 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.09896, allocations: 96.16 kB / 0.5302 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.902e-06/0.09898, allocations: 0 / 0.5302 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.09901, allocations: 4 kB / 0.5302 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.09904, allocations: 4 kB / 0.5302 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.09919, allocations: 31.98 kB / 0.5303 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.09987, allocations: 364.5 kB / 0.5306 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1002, allocations: 86.66 kB / 0.5307 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1002, allocations: 0 / 0.5307 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.1005, allocations: 87.47 kB / 0.5308 GB, free: 10.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.981e-06/0.1005, allocations: 0 / 0.5308 GB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005416/0.1011, allocations: 210.8 kB / 0.531 GB, free: 10.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.1012, allocations: 110.8 kB / 0.5311 GB, free: 10.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.1016, allocations: 255 kB / 0.5313 GB, free: 9.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1016, allocations: 29.78 kB / 0.5313 GB, free: 9.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1017, allocations: 124 kB / 0.5315 GB, free: 9.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.1018, allocations: 23.8 kB / 0.5315 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-06/0.1018, allocations: 0 / 0.5315 GB, free: 9.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.102, allocations: 334.8 kB / 0.5318 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1021, allocations: 27.92 kB / 0.5318 GB, free: 9.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1023, allocations: 72.2 kB / 0.5319 GB, free: 9.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1024, allocations: 36.06 kB / 0.5319 GB, free: 9.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-06/0.1024, allocations: 0 / 0.5319 GB, free: 9.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003339/0.1028, allocations: 113.4 kB / 0.532 GB, free: 9.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1028, allocations: 6.031 kB / 0.532 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.387e-06/0.1028, allocations: 0 / 0.532 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1028, allocations: 4 kB / 0.5321 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.103, allocations: 12 kB / 0.5321 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.063e-06/0.103, allocations: 0 / 0.5321 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1031, allocations: 11.92 kB / 0.5321 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1031, allocations: 8.031 kB / 0.5321 GB, free: 9.062 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.0001946/0.1033, allocations: 155.3 kB / 0.5322 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1034, allocations: 15.81 kB / 0.5322 GB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.1035, allocations: 17.39 kB / 0.5323 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.1035, allocations: 4 kB / 0.5323 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.481e-06/0.1035, allocations: 0 / 0.5323 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.026e-06/0.1035, allocations: 0 / 0.5323 GB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.1038, allocations: 225.5 kB / 0.5325 GB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-06/0.1038, allocations: 4 kB / 0.5325 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.1039, allocations: 12.05 kB / 0.5325 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.14e-06/0.1039, allocations: 3.984 kB / 0.5325 GB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.104, allocations: 3.984 kB / 0.5325 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.179e-06/0.104, allocations: 0 / 0.5325 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-06/0.104, allocations: 0 / 0.5325 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.1043, allocations: 144.8 kB / 0.5326 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.1045, allocations: 96.88 kB / 0.5327 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.1045, allocations: 4 kB / 0.5327 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.1046, allocations: 11.98 kB / 0.5327 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.1047, allocations: 8 kB / 0.5328 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.1047, allocations: 3.984 kB / 0.5328 GB, free: 8.273 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002807/0.105, allocations: 200.3 kB / 0.533 GB, free: 8.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.105, allocations: 0 / 0.533 GB, free: 8.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.1054, allocations: 35.98 kB / 0.533 GB, free: 8.043 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.1069, allocations: 432.1 kB / 0.5334 GB, free: 7.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1072, allocations: 75.89 kB / 0.5335 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.1073, allocations: 0 / 0.5335 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.1074, allocations: 35.98 kB / 0.5335 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.1077, allocations: 27.97 kB / 0.5335 GB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.1084, allocations: 310.1 kB / 0.5338 GB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.1089, allocations: 0.7282 MB / 0.5345 GB, free: 6.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.109, allocations: 21.38 kB / 0.5346 GB, free: 6.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.1091, allocations: 23.42 kB / 0.5346 GB, free: 6.484 MB / 378.7 MB Notification: Performance of SimCode: time 2.051e-06/0.1091, allocations: 0 / 0.5346 GB, free: 6.484 MB / 378.7 MB Notification: Performance of Templates: time 0.007597/0.1167, allocations: 2.353 MB / 0.5369 GB, free: 4.148 MB / 378.7 MB