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.191/2.191, allocations: 253.2 MB / 260.6 MB, free: 7.465 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.001458/0.001458, allocations: 180.8 kB / 319.9 MB, free: 3.066 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.092/2.092, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001132/0.001132, allocations: 100.2 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.794e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9056/1.114, allocations: 135.7 MB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/1.115, allocations: 74.53 kB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02808/1.143, allocations: 5.38 MB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/1.143, allocations: 4 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.323e-05/1.143, allocations: 4 kB / 1.027 GB, free: 13.2 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.0007149/1.144, allocations: 462.4 kB / 1.027 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.144, allocations: 12.02 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/1.144, allocations: 15.81 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/1.144, allocations: 249.9 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1.144, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/1.144, allocations: 4 kB / 1.027 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/1.145, allocations: 34.05 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/1.145, allocations: 85.73 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.145, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.145, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/1.145, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/1.146, allocations: 336.5 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/1.146, allocations: 69.44 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/1.146, allocations: 34.83 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/1.146, allocations: 3.938 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/1.146, allocations: 77.95 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 4.448e-06/1.146, allocations: 4 kB / 1.028 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003691/1.146, allocations: 126.3 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/1.147, allocations: 77.11 kB / 1.028 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/1.147, allocations: 233.3 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/1.147, allocations: 29.69 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/1.147, allocations: 116.6 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/1.147, allocations: 19.53 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-06/1.147, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.147, allocations: 333.3 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/1.147, allocations: 29.92 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/1.147, allocations: 53.8 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/1.148, allocations: 42.64 kB / 1.029 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.148, allocations: 0 / 1.029 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002946/1.148, allocations: 107.2 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.148, allocations: 5.094 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.148, allocations: 4.062 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.148, allocations: 0 / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/1.148, allocations: 15.98 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.148, allocations: 0 / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/1.148, allocations: 7.938 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/1.148, allocations: 11.2 kB / 1.029 GB, free: 10.68 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.0001067/1.148, allocations: 105 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/1.148, allocations: 19.72 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/1.149, allocations: 139.5 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/1.149, allocations: 4 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.149, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.149, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/1.149, allocations: 211.6 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.149, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/1.149, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.149, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/1.149, allocations: 4 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.149, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.149, allocations: 3.984 kB / 1.029 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/1.15, allocations: 146.9 kB / 1.03 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/1.15, allocations: 100.8 kB / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/1.15, allocations: 3.812 kB / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/1.15, allocations: 7.938 kB / 1.03 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/1.15, allocations: 7.984 kB / 1.03 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/1.15, allocations: 0 / 1.03 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002485/1.15, allocations: 192.1 kB / 1.03 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.15, allocations: 0 / 1.03 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003667/1.151, allocations: 39.81 kB / 1.03 GB, free: 9.73 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.001095/1.152, allocations: 360.7 kB / 1.03 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002297/1.152, allocations: 75.17 kB / 1.03 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.152, allocations: 0 / 1.03 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/1.152, allocations: 38.92 kB / 1.03 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.152, allocations: 36.67 kB / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/1.153, allocations: 218.6 kB / 1.031 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/1.153, allocations: 0.7317 MB / 1.031 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001285/1.154, allocations: 29.55 kB / 1.031 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/1.154, allocations: 26.62 kB / 1.031 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/1.154, allocations: 0 / 1.031 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of Templates: time 0.007781/1.161, allocations: 2.124 MB / 1.033 GB, free: 6.227 MB / 0.6511 GB