Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 190.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6113/0.6113, allocations: 95.48 MB / 364.8 MB, free: 10.09 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 59.91 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.355, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002646/0.3577, allocations: 1.789 MB / 0.5034 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3589, allocations: 1.022 MB / 0.5044 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.359, allocations: 0 / 0.5044 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.3593, allocations: 55.81 kB / 0.5045 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3595, allocations: 67.73 kB / 0.5046 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.3599, allocations: 175.6 kB / 0.5047 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.36, allocations: 143.6 kB / 0.5049 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.3601, allocations: 17.11 kB / 0.5049 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.3602, allocations: 55.72 kB / 0.5049 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.3603, allocations: 59.75 kB / 0.505 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3603, allocations: 4 kB / 0.505 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3604, allocations: 59.95 kB / 0.5051 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.3605, allocations: 43.78 kB / 0.5051 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.3606, allocations: 51.66 kB / 0.5051 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.3608, allocations: 197.4 kB / 0.5053 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3608, allocations: 3.984 kB / 0.5053 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.3608, allocations: 0 / 0.5053 GB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3608, allocations: 0 / 0.5053 GB, free: 13.87 MB / 382.1 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.0005388/0.3613, allocations: 492.3 kB / 0.5058 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3614, allocations: 11.98 kB / 0.5058 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.3614, allocations: 16.75 kB / 0.5058 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3616, allocations: 256.8 kB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3617, allocations: 7.984 kB / 0.5061 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3617, allocations: 4 kB / 0.5061 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.3619, allocations: 96.16 kB / 0.5062 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3619, allocations: 3.938 kB / 0.5062 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3619, allocations: 4 kB / 0.5062 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.3619, allocations: 4 kB / 0.5062 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.362, allocations: 27.98 kB / 0.5062 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.3624, allocations: 352.8 kB / 0.5066 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3626, allocations: 90.69 kB / 0.5066 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.3627, allocations: 28.84 kB / 0.5067 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3627, allocations: 8 kB / 0.5067 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.3629, allocations: 87.34 kB / 0.5068 GB, free: 12.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3629, allocations: 0 / 0.5068 GB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003074/0.3633, allocations: 141.3 kB / 0.5069 GB, free: 12.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3633, allocations: 110.8 kB / 0.507 GB, free: 11.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3635, allocations: 261.5 kB / 0.5073 GB, free: 11.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3635, allocations: 25.7 kB / 0.5073 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.3636, allocations: 124.1 kB / 0.5074 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3636, allocations: 11.81 kB / 0.5074 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.3636, allocations: 33.7 kB / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.3637, allocations: 322.8 kB / 0.5077 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.3638, allocations: 23.98 kB / 0.5078 GB, free: 11.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-05/0.3638, allocations: 80.19 kB / 0.5078 GB, free: 11.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.364, allocations: 69.7 kB / 0.5079 GB, free: 10.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.364, allocations: 3.938 kB / 0.5079 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.3642, allocations: 113.7 kB / 0.508 GB, free: 10.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3642, allocations: 10.19 kB / 0.508 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3642, allocations: 80 / 0.508 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3642, allocations: 3.938 kB / 0.508 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3643, allocations: 12 kB / 0.508 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3643, allocations: 8.016 kB / 0.5081 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.3644, allocations: 11.89 kB / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3644, allocations: 8 kB / 0.5081 GB, free: 10.8 MB / 382.1 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 8.67e-05/0.3645, allocations: 141.8 kB / 0.5082 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.3645, allocations: 15.81 kB / 0.5082 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.3646, allocations: 25.33 kB / 0.5082 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3646, allocations: 7.938 kB / 0.5083 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3646, allocations: 0 / 0.5083 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3646, allocations: 192 / 0.5083 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3647, allocations: 225.6 kB / 0.5085 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3647, allocations: 3.938 kB / 0.5085 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.3648, allocations: 4 kB / 0.5085 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3648, allocations: 3.984 kB / 0.5085 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3648, allocations: 3.938 kB / 0.5085 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3648, allocations: 4 kB / 0.5085 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3648, allocations: 0 / 0.5085 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.365, allocations: 136.9 kB / 0.5086 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.3651, allocations: 96.92 kB / 0.5087 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3651, allocations: 3.938 kB / 0.5087 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.3652, allocations: 8 kB / 0.5087 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.3652, allocations: 7.984 kB / 0.5087 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3652, allocations: 7.984 kB / 0.5087 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.3654, allocations: 195.3 kB / 0.5089 GB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3654, allocations: 0 / 0.5089 GB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3656, allocations: 36 kB / 0.509 GB, free: 9.793 MB / 382.1 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.0008395/0.3665, allocations: 442.6 kB / 0.5094 GB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3667, allocations: 71.94 kB / 0.5095 GB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3667, allocations: 0 / 0.5095 GB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.3668, allocations: 35.92 kB / 0.5095 GB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.367, allocations: 39.75 kB / 0.5095 GB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.3675, allocations: 320.7 kB / 0.5098 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.3676, allocations: 0.7242 MB / 0.5105 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.3677, allocations: 29.36 kB / 0.5106 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.3678, allocations: 19.42 kB / 0.5106 GB, free: 8.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3678, allocations: 0 / 0.5106 GB, free: 8.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004854/0.3726, allocations: 2.44 MB / 0.513 GB, free: 5.809 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)