Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5234/0.5234, allocations: 95.62 MB / 110.6 MB, free: 9.387 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001056/0.001056, allocations: 162 kB / 134.2 MB, free: 2.293 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.287/1.287, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001649/0.001649, allocations: 114.1 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004026, allocations: 8 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1474, allocations: 61.54 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.6007, allocations: 94.67 MB / 0.6044 GB, free: 12.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.6009, allocations: 73.53 kB / 0.6045 GB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004444/0.6054, allocations: 1.427 MB / 0.6059 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6054, allocations: 0 / 0.6059 GB, free: 11.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.6054, allocations: 0 / 0.6059 GB, free: 11.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004175/0.6059, allocations: 409.9 kB / 0.6063 GB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6059, allocations: 15.98 kB / 0.6063 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.606, allocations: 3.906 kB / 0.6063 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.6062, allocations: 177.5 kB / 0.6065 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.6062, allocations: 2.812 kB / 0.6065 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.6062, allocations: 11.88 kB / 0.6065 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.6064, allocations: 72.56 kB / 0.6065 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6064, allocations: 0.875 kB / 0.6065 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.6064, allocations: 0 / 0.6065 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.6064, allocations: 4 kB / 0.6066 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.6065, allocations: 23.17 kB / 0.6066 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.6069, allocations: 270.9 kB / 0.6068 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.607, allocations: 53.58 kB / 0.6069 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.607, allocations: 4 kB / 0.6069 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.6071, allocations: 107 kB / 0.607 GB, free: 10.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.6072, allocations: 0 / 0.607 GB, free: 10.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003987/0.6076, allocations: 319 kB / 0.6073 GB, free: 9.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.6076, allocations: 114.7 kB / 0.6074 GB, free: 9.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.6077, allocations: 103.1 kB / 0.6075 GB, free: 9.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6078, allocations: 32.95 kB / 0.6075 GB, free: 9.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.6078, allocations: 84.17 kB / 0.6076 GB, free: 9.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.6079, allocations: 18.77 kB / 0.6076 GB, free: 9.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.6079, allocations: 7.375 kB / 0.6076 GB, free: 9.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.608, allocations: 318.8 kB / 0.6079 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.6081, allocations: 23.17 kB / 0.608 GB, free: 9.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.6081, allocations: 18.56 kB / 0.608 GB, free: 9.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.383e-05/0.6082, allocations: 84.77 kB / 0.6081 GB, free: 8.965 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6082, allocations: 3.938 kB / 0.6081 GB, free: 8.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001959/0.6084, allocations: 169 kB / 0.6082 GB, free: 8.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.6085, allocations: 68.34 kB / 0.6083 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6085, allocations: 0 / 0.6083 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6085, allocations: 0 / 0.6083 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.755e-05/0.6085, allocations: 0 / 0.6083 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6085, allocations: 0 / 0.6083 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.6086, allocations: 7.984 kB / 0.6083 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.6086, allocations: 4 kB / 0.6083 GB, free: 8.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0001296/0.6087, allocations: 157.4 kB / 0.6085 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.6088, allocations: 19.17 kB / 0.6085 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.6088, allocations: 4.375 kB / 0.6085 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6088, allocations: 0 / 0.6085 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6088, allocations: 4 kB / 0.6085 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6088, allocations: 0 / 0.6085 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.609, allocations: 172.5 kB / 0.6086 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.609, allocations: 0 / 0.6086 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-06/0.609, allocations: 0 / 0.6086 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.609, allocations: 3.938 kB / 0.6087 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.609, allocations: 11.94 kB / 0.6087 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.609, allocations: 3.938 kB / 0.6087 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.609, allocations: 4 kB / 0.6087 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.6093, allocations: 175.5 kB / 0.6088 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.6094, allocations: 85 kB / 0.6089 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.6094, allocations: 4 kB / 0.6089 GB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.946e-05/0.6095, allocations: 7.953 kB / 0.6089 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.6095, allocations: 7.938 kB / 0.6089 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.6095, allocations: 3.984 kB / 0.6089 GB, free: 8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.6096, allocations: 91.36 kB / 0.609 GB, free: 7.914 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6096, allocations: 0 / 0.609 GB, free: 7.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000218/0.6098, allocations: 34.5 kB / 0.6091 GB, free: 7.883 MB / 410.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: 8 ($whenCondition1,booTab.y,booTab.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002058/0.61, allocations: 123.2 kB / 0.6092 GB, free: 7.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.6103, allocations: 176.6 kB / 0.6093 GB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6103, allocations: 4 kB / 0.6094 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.6104, allocations: 99.45 kB / 0.6094 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.6105, allocations: 8.062 kB / 0.6095 GB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.6108, allocations: 180.5 kB / 0.6096 GB, free: 7.277 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.6111, allocations: 0.6926 MB / 0.6103 GB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.887e-05/0.6111, allocations: 8.469 kB / 0.6103 GB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.6112, allocations: 7.438 kB / 0.6103 GB, free: 6.543 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6112, allocations: 0 / 0.6103 GB, free: 6.543 MB / 410.7 MB Notification: Performance of Templates: time 0.003097/0.6143, allocations: 0.844 MB / 0.6111 GB, free: 5.715 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)