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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007624/0.0007624, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004636/0.004636, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.191/1.191, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 252 MB / 0.5105 GB, free: 4.707 MB / 414.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: Performance of FrontEnd - loaded program: time 0.00048/0.00048, allocations: 16.56 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3891, allocations: 106.3 MB / 0.7287 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002215/0.3914, allocations: 1.485 MB / 0.7302 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3928, allocations: 1.011 MB / 0.7312 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.58e-05/0.3929, allocations: 0 / 0.7312 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3932, allocations: 51.81 kB / 0.7312 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.3934, allocations: 71.73 kB / 0.7313 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.3939, allocations: 175.3 kB / 0.7314 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3941, allocations: 139.6 kB / 0.7316 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3942, allocations: 17.11 kB / 0.7316 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.347e-05/0.3943, allocations: 59.7 kB / 0.7316 GB, free: 8.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.3944, allocations: 63.69 kB / 0.7317 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3945, allocations: 4 kB / 0.7317 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3946, allocations: 55.97 kB / 0.7318 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.3946, allocations: 31.89 kB / 0.7318 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.3947, allocations: 85.25 kB / 0.7319 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.395, allocations: 193.5 kB / 0.7321 GB, free: 8.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.395, allocations: 0 / 0.7321 GB, free: 8.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.395, allocations: 0 / 0.7321 GB, free: 8.055 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.395, allocations: 0 / 0.7321 GB, free: 8.055 MB / 0.545 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.0005455/0.3955, allocations: 464.4 kB / 0.7325 GB, free: 7.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3956, allocations: 15.97 kB / 0.7325 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3956, allocations: 20.75 kB / 0.7325 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3959, allocations: 248.8 kB / 0.7328 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3959, allocations: 12.38 kB / 0.7328 GB, free: 7.215 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3959, allocations: 8.125 kB / 0.7328 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3961, allocations: 92.22 kB / 0.7329 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.3961, allocations: 0 / 0.7329 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3961, allocations: 4 kB / 0.7329 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3962, allocations: 3.938 kB / 0.7329 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/0.3963, allocations: 31.98 kB / 0.7329 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.3967, allocations: 360.6 kB / 0.7333 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.3969, allocations: 90.69 kB / 0.7334 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.397, allocations: 28.84 kB / 0.7334 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.397, allocations: 4 kB / 0.7334 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.3972, allocations: 83.38 kB / 0.7335 GB, free: 6.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.3972, allocations: 3.938 kB / 0.7335 GB, free: 6.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003087/0.3975, allocations: 133.6 kB / 0.7336 GB, free: 6.293 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3976, allocations: 114.8 kB / 0.7337 GB, free: 6.156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3978, allocations: 255 kB / 0.7339 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3979, allocations: 29.7 kB / 0.734 GB, free: 5.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.3979, allocations: 116.1 kB / 0.7341 GB, free: 5.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.398, allocations: 27.66 kB / 0.7341 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.398, allocations: 21.7 kB / 0.7341 GB, free: 5.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3981, allocations: 330.8 kB / 0.7344 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.3982, allocations: 27.98 kB / 0.7345 GB, free: 5.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.3983, allocations: 64.27 kB / 0.7345 GB, free: 5.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3984, allocations: 77.7 kB / 0.7346 GB, free: 5.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3984, allocations: 0 / 0.7346 GB, free: 5.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.3986, allocations: 113.4 kB / 0.7347 GB, free: 5.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.3986, allocations: 4.188 kB / 0.7347 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3986, allocations: 0 / 0.7347 GB, free: 5.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3986, allocations: 11.92 kB / 0.7347 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.3987, allocations: 8 kB / 0.7347 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3987, allocations: 0 / 0.7347 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.3988, allocations: 11.94 kB / 0.7348 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3988, allocations: 12.02 kB / 0.7348 GB, free: 5.008 MB / 0.545 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 0.000123/0.399, allocations: 147.2 kB / 0.7349 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.399, allocations: 15.81 kB / 0.7349 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.399, allocations: 17.41 kB / 0.7349 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.399, allocations: 7.984 kB / 0.7349 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3991, allocations: 0 / 0.7349 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3991, allocations: 3.938 kB / 0.7349 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.3992, allocations: 217.5 kB / 0.7352 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3992, allocations: 4 kB / 0.7352 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.3993, allocations: 15.94 kB / 0.7352 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3993, allocations: 0 / 0.7352 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3993, allocations: 0 / 0.7352 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3993, allocations: 7.922 kB / 0.7352 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3993, allocations: 0 / 0.7352 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3995, allocations: 140.8 kB / 0.7353 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.3996, allocations: 100.9 kB / 0.7354 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.3996, allocations: 4 kB / 0.7354 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.3997, allocations: 4 kB / 0.7354 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.3997, allocations: 16.02 kB / 0.7354 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3998, allocations: 7.922 kB / 0.7354 GB, free: 4.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001604/0.3999, allocations: 196.4 kB / 0.7356 GB, free: 4.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3999, allocations: 0 / 0.7356 GB, free: 4.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002191/0.4002, allocations: 31.91 kB / 0.7357 GB, free: 3.992 MB / 0.545 GB 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.0008245/0.401, allocations: 432.8 kB / 0.7361 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.4012, allocations: 63.97 kB / 0.7361 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4012, allocations: 0 / 0.7361 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.4013, allocations: 43.91 kB / 0.7362 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.4015, allocations: 35.92 kB / 0.7362 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.402, allocations: 322.1 kB / 0.7365 GB, free: 3.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.4023, allocations: 0.7282 MB / 0.7372 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.79e-05/0.4023, allocations: 29.38 kB / 0.7373 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.4024, allocations: 23.42 kB / 0.7373 GB, free: 2.434 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.4024, allocations: 0 / 0.7373 GB, free: 2.434 MB / 0.545 GB Notification: Performance of Templates: time 0.004662/0.4071, allocations: 2.414 MB / 0.7396 GB, free: 44 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: