Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.322/2.322, allocations: 252.6 MB / 265.2 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 183.8 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 102 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.15e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8867/1.087, allocations: 135.4 MB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/1.088, allocations: 77.39 kB / 1.027 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02489/1.112, allocations: 5.43 MB / 1.033 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/1.112, allocations: 0 / 1.033 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.416e-05/1.113, allocations: 0 / 1.033 GB, free: 10.57 MB / 0.6511 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.0007116/1.113, allocations: 462.6 kB / 1.033 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.113, allocations: 12.03 kB / 1.033 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/1.113, allocations: 15.81 kB / 1.033 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/1.114, allocations: 246 kB / 1.033 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.114, allocations: 11.92 kB / 1.033 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/1.114, allocations: 4 kB / 1.033 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/1.114, allocations: 88.94 kB / 1.033 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.114, allocations: 0 / 1.033 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.114, allocations: 0 / 1.033 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/1.114, allocations: 4 kB / 1.033 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/1.114, allocations: 34.42 kB / 1.033 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007421/1.115, allocations: 363.4 kB / 1.034 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/1.115, allocations: 68.44 kB / 1.034 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/1.116, allocations: 41.56 kB / 1.034 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/1.116, allocations: 4.109 kB / 1.034 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/1.116, allocations: 81.39 kB / 1.034 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.365e-06/1.116, allocations: 0 / 1.034 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003882/1.116, allocations: 122.8 kB / 1.034 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/1.116, allocations: 85.03 kB / 1.034 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/1.117, allocations: 236.2 kB / 1.034 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.117, allocations: 33.52 kB / 1.034 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/1.117, allocations: 117.9 kB / 1.034 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/1.117, allocations: 22.83 kB / 1.034 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-06/1.117, allocations: 0 / 1.034 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.117, allocations: 325.8 kB / 1.035 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/1.117, allocations: 30.86 kB / 1.035 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/1.117, allocations: 53.86 kB / 1.035 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/1.117, allocations: 34.83 kB / 1.035 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.117, allocations: 4 kB / 1.035 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002766/1.118, allocations: 113.9 kB / 1.035 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.118, allocations: 9.719 kB / 1.035 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/1.118, allocations: 4 kB / 1.035 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.118, allocations: 0 / 1.035 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/1.118, allocations: 8 kB / 1.035 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.118, allocations: 7.953 kB / 1.035 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/1.118, allocations: 11.92 kB / 1.035 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.118, allocations: 3.984 kB / 1.035 GB, free: 7.992 MB / 0.6511 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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.0001177/1.118, allocations: 120.8 kB / 1.035 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/1.118, allocations: 19.72 kB / 1.035 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/1.119, allocations: 126.9 kB / 1.035 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.119, allocations: 4 kB / 1.035 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.119, allocations: 0 / 1.035 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.119, allocations: 7.938 kB / 1.035 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/1.119, allocations: 230.1 kB / 1.036 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.119, allocations: 0 / 1.036 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/1.119, allocations: 8.094 kB / 1.036 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.119, allocations: 3.938 kB / 1.036 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.119, allocations: 4 kB / 1.036 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.119, allocations: 0 / 1.036 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.119, allocations: 0 / 1.036 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/1.119, allocations: 153.8 kB / 1.036 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.12, allocations: 100.4 kB / 1.036 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/1.12, allocations: 7.938 kB / 1.036 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/1.12, allocations: 4 kB / 1.036 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/1.12, allocations: 11.92 kB / 1.036 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/1.12, allocations: 4 kB / 1.036 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003186/1.12, allocations: 196.4 kB / 1.036 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.12, allocations: 0 / 1.036 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003528/1.121, allocations: 43.31 kB / 1.036 GB, free: 6.992 MB / 0.6511 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.001193/1.122, allocations: 394.9 kB / 1.036 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000272/1.122, allocations: 78.42 kB / 1.037 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.122, allocations: 0 / 1.037 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.122, allocations: 45.3 kB / 1.037 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/1.123, allocations: 35.23 kB / 1.037 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/1.123, allocations: 229.8 kB / 1.037 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/1.124, allocations: 0.7316 MB / 1.038 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001307/1.124, allocations: 25.5 kB / 1.038 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/1.124, allocations: 18.81 kB / 1.038 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of SimCode: time 7.82e-07/1.124, allocations: 0 / 1.038 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of Templates: time 0.008477/1.132, allocations: 2.274 MB / 1.04 GB, free: 3.348 MB / 0.6511 GB