Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009519/0.000952, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.1 MB / 222 MB, free: 4.77 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.353/1.353, allocations: 251.7 MB / 0.5088 GB, free: 3.359 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.001348/0.001348, allocations: 59.92 kB / 0.6215 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3878, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002923/0.3907, allocations: 1.855 MB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3921, allocations: 0.9293 MB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3922, allocations: 4 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.3928, allocations: 155.6 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.3931, allocations: 103.7 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.3934, allocations: 126.9 kB / 0.7269 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.3937, allocations: 171.6 kB / 0.7271 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.426e-05/0.3938, allocations: 17.12 kB / 0.7271 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3939, allocations: 67.62 kB / 0.7271 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.394, allocations: 63.75 kB / 0.7272 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.394, allocations: 4 kB / 0.7272 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3942, allocations: 59.91 kB / 0.7273 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.3942, allocations: 39.83 kB / 0.7273 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.339e-05/0.3943, allocations: 55.61 kB / 0.7273 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.3945, allocations: 185.4 kB / 0.7275 GB, free: 9.332 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3946, allocations: 11.94 kB / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.51e-07/0.3946, allocations: 0 / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3946, allocations: 0 / 0.7275 GB, free: 9.32 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006377/0.3952, allocations: 0.4885 MB / 0.728 GB, free: 8.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3953, allocations: 8.031 kB / 0.728 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.3953, allocations: 20.66 kB / 0.728 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3956, allocations: 241 kB / 0.7283 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3956, allocations: 4.375 kB / 0.7283 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3956, allocations: 8.125 kB / 0.7283 GB, free: 8.465 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3958, allocations: 107.3 kB / 0.7284 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3958, allocations: 0 / 0.7284 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3958, allocations: 0 / 0.7284 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3959, allocations: 4 kB / 0.7284 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.791e-05/0.3959, allocations: 27.98 kB / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3964, allocations: 368.5 kB / 0.7288 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3966, allocations: 70.67 kB / 0.7288 GB, free: 7.828 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.3967, allocations: 36.84 kB / 0.7289 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3967, allocations: 0 / 0.7289 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.3969, allocations: 87.27 kB / 0.7289 GB, free: 7.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3969, allocations: 4 kB / 0.729 GB, free: 7.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003085/0.3972, allocations: 145.4 kB / 0.7291 GB, free: 7.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3972, allocations: 81.09 kB / 0.7292 GB, free: 7.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.3975, allocations: 259 kB / 0.7294 GB, free: 7.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3975, allocations: 29.7 kB / 0.7294 GB, free: 7.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.3976, allocations: 120.1 kB / 0.7296 GB, free: 7.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3976, allocations: 23.66 kB / 0.7296 GB, free: 7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.3976, allocations: 25.7 kB / 0.7296 GB, free: 6.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.3977, allocations: 334.8 kB / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.3978, allocations: 27.98 kB / 0.73 GB, free: 6.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.3979, allocations: 63.41 kB / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.398, allocations: 69.64 kB / 0.7301 GB, free: 6.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.398, allocations: 0 / 0.7301 GB, free: 6.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001882/0.3982, allocations: 121.8 kB / 0.7302 GB, free: 6.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3982, allocations: 4 kB / 0.7302 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3982, allocations: 0 / 0.7302 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3983, allocations: 0 / 0.7302 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.3983, allocations: 19.92 kB / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3983, allocations: 0 / 0.7302 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.3984, allocations: 11.84 kB / 0.7302 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3984, allocations: 4 kB / 0.7302 GB, free: 6.293 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001085/0.3985, allocations: 145.8 kB / 0.7304 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3986, allocations: 15.81 kB / 0.7304 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.3986, allocations: 17.5 kB / 0.7304 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.3986, allocations: 7.938 kB / 0.7304 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3986, allocations: 0 / 0.7304 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3986, allocations: 3.938 kB / 0.7304 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3988, allocations: 225.6 kB / 0.7306 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3988, allocations: 0 / 0.7306 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.3989, allocations: 4 kB / 0.7306 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3989, allocations: 0 / 0.7306 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3989, allocations: 11.98 kB / 0.7306 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3989, allocations: 0 / 0.7306 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3989, allocations: 0 / 0.7306 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3991, allocations: 144.8 kB / 0.7308 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.3992, allocations: 100.8 kB / 0.7309 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3992, allocations: 0 / 0.7309 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.3992, allocations: 4 kB / 0.7309 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3993, allocations: 11.98 kB / 0.7309 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3993, allocations: 3.938 kB / 0.7309 GB, free: 5.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001545/0.3995, allocations: 200.4 kB / 0.7311 GB, free: 5.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3995, allocations: 0 / 0.7311 GB, free: 5.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002251/0.3997, allocations: 27.98 kB / 0.7311 GB, free: 5.289 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.0008258/0.4005, allocations: 420.2 kB / 0.7315 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.4007, allocations: 79.91 kB / 0.7316 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4007, allocations: 0 / 0.7316 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.4008, allocations: 39.92 kB / 0.7316 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.4011, allocations: 35.58 kB / 0.7317 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.4015, allocations: 333.1 kB / 0.732 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.4018, allocations: 0.7243 MB / 0.7327 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.4018, allocations: 33.39 kB / 0.7327 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.4019, allocations: 19.44 kB / 0.7327 GB, free: 3.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4019, allocations: 0 / 0.7327 GB, free: 3.73 MB / 0.545 GB Notification: Performance of Templates: time 0.00441/0.4063, allocations: 2.192 MB / 0.7349 GB, free: 1.566 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)