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.196/2.196, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 172.6 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.484/2.484, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001131/0.001131, allocations: 100.4 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004838, allocations: 13.44 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2274, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/0.4588, allocations: 135.5 MB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.4592, allocations: 83.95 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02468/0.4839, allocations: 5.423 MB / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4839, allocations: 0 / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.484, allocations: 4 kB / 1.037 GB, free: 4.727 MB / 0.6823 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.0008015/0.4848, allocations: 0.4884 MB / 1.037 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4848, allocations: 8.031 kB / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.4849, allocations: 15.81 kB / 1.037 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.4854, allocations: 255.6 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4855, allocations: 7.938 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.4855, allocations: 4 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.4858, allocations: 91.31 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4858, allocations: 0 / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4858, allocations: 4 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.4859, allocations: 7.984 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.486, allocations: 39.97 kB / 1.037 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/0.4867, allocations: 356.7 kB / 1.038 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.487, allocations: 82.61 kB / 1.038 GB, free: 3.215 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4871, allocations: 7.984 kB / 1.038 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.4873, allocations: 87.38 kB / 1.038 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.4873, allocations: 0 / 1.038 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005599/0.4879, allocations: 230.5 kB / 1.038 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.4879, allocations: 85.06 kB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.4884, allocations: 242.1 kB / 1.039 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4884, allocations: 29.7 kB / 1.039 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.4885, allocations: 116.1 kB / 1.039 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.4886, allocations: 23.7 kB / 1.039 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.4886, allocations: 0 / 1.039 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4887, allocations: 330.8 kB / 1.039 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4888, allocations: 24 kB / 1.039 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.489, allocations: 63.41 kB / 1.039 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4891, allocations: 35.98 kB / 1.039 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4892, allocations: 0 / 1.039 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003349/0.4895, allocations: 117.5 kB / 1.039 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4895, allocations: 8.312 kB / 1.039 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4896, allocations: 0 / 1.039 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4896, allocations: 3.938 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4897, allocations: 15.98 kB / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.4898, allocations: 8 kB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.4899, allocations: 7.953 kB / 1.039 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.4899, allocations: 4 kB / 1.039 GB, free: 1.707 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.4901, allocations: 141.8 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.4902, allocations: 19.72 kB / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.4906, allocations: 131 kB / 1.04 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4906, allocations: 4 kB / 1.04 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4906, allocations: 4 kB / 1.04 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4906, allocations: 0 / 1.04 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.491, allocations: 233.5 kB / 1.04 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.491, allocations: 4 kB / 1.04 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.563e-05/0.491, allocations: 11.98 kB / 1.04 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4911, allocations: 0 / 1.04 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4911, allocations: 4 kB / 1.04 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4911, allocations: 0 / 1.04 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4911, allocations: 0 / 1.04 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.4915, allocations: 164.7 kB / 1.04 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.4916, allocations: 100.9 kB / 1.04 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.4916, allocations: 0 / 1.04 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.4917, allocations: 4 kB / 1.04 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.4918, allocations: 7.984 kB / 1.04 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4918, allocations: 0 / 1.04 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003158/0.4921, allocations: 208.1 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4922, allocations: 0 / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003585/0.4925, allocations: 40 kB / 1.04 GB, free: 0.5469 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001276/0.4938, allocations: 438.2 kB / 1.041 GB, free: 280 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.4942, allocations: 75.91 kB / 1.041 GB, free: 204 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.4942, allocations: 4 kB / 1.041 GB, free: 200 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4944, allocations: 39.98 kB / 1.041 GB, free: 160 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.4947, allocations: 31.91 kB / 1.041 GB, free: 128 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/0.4956, allocations: 342.4 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4959, allocations: 0.7281 MB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.4961, allocations: 29.38 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.4962, allocations: 23.36 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/0.4962, allocations: 0 / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of Templates: time 0.007926/0.5041, allocations: 2.265 MB / 1.044 GB, free: 12.7 MB / 0.698 GB