Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009101/0.009105, allocations: 106.9 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001113/0.001113, allocations: 177.9 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.874/1.874, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.246/2.246, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007128/0.0007132, allocations: 16 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7076, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001431/0.7091, allocations: 1.129 MB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.7099, allocations: 0.5102 MB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.71, allocations: 0.9375 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.98e-05/0.7101, allocations: 0 / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.7101, allocations: 7.375 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.7105, allocations: 66.77 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.789e-05/0.7106, allocations: 22.73 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 6.824e-05/0.7107, allocations: 3.734 kB / 0.685 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.487e-05/0.7107, allocations: 12 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.7108, allocations: 12.19 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.7108, allocations: 2.406 kB / 0.6851 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.7109, allocations: 51.92 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.711, allocations: 9.641 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.711, allocations: 38.06 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.7112, allocations: 52.95 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.577e-06/0.7112, allocations: 0 / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.841e-06/0.7112, allocations: 0 / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.827e-06/0.7112, allocations: 3.938 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB 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.0003001/0.7115, allocations: 401.1 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.7116, allocations: 8.953 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.7116, allocations: 7.391 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.7118, allocations: 177.9 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.7118, allocations: 5.344 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.7118, allocations: 2.5 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.712, allocations: 59.44 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.058e-06/0.712, allocations: 0 / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.712, allocations: 1.656 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.712, allocations: 1.969 kB / 0.6858 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.7121, allocations: 29.7 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.7125, allocations: 279.3 kB / 0.6861 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.7126, allocations: 46.83 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.207e-06/0.7126, allocations: 3.984 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.7128, allocations: 110.5 kB / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.55e-06/0.7128, allocations: 0 / 0.6863 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003825/0.7132, allocations: 327.1 kB / 0.6866 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.7133, allocations: 112.2 kB / 0.6867 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.7133, allocations: 113.3 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.7134, allocations: 32.02 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.7134, allocations: 81.88 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.7134, allocations: 19.72 kB / 0.6869 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-06/0.7135, allocations: 1.219 kB / 0.6869 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.7135, allocations: 322.3 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.279e-05/0.7136, allocations: 20.47 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.934e-05/0.7136, allocations: 29.27 kB / 0.6873 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.7137, allocations: 82.38 kB / 0.6874 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-06/0.7137, allocations: 0 / 0.6874 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000214/0.714, allocations: 157.6 kB / 0.6875 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.714, allocations: 63 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.57e-06/0.714, allocations: 0 / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7141, allocations: 0 / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.091e-05/0.7141, allocations: 2.312 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.91e-06/0.7141, allocations: 3.953 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.7142, allocations: 8.797 kB / 0.6876 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.7142, allocations: 6.5 kB / 0.6876 GB, free: 13.08 MB / 0.5261 GB 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.0001078/0.7143, allocations: 159 kB / 0.6878 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.7144, allocations: 8.844 kB / 0.6878 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.7144, allocations: 10.23 kB / 0.6878 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.7144, allocations: 3.094 kB / 0.6878 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.134e-06/0.7144, allocations: 128 / 0.6878 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-06/0.7145, allocations: 7.891 kB / 0.6878 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.7146, allocations: 178.5 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-06/0.7146, allocations: 0.5625 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-06/0.7146, allocations: 5.219 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.305e-06/0.7146, allocations: 0.7031 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.7146, allocations: 2.5 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.483e-06/0.7147, allocations: 0.5625 kB / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-06/0.7147, allocations: 0 / 0.688 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.7149, allocations: 182.4 kB / 0.6881 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.715, allocations: 79.98 kB / 0.6882 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.715, allocations: 3.719 kB / 0.6882 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.7151, allocations: 9.594 kB / 0.6882 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.7152, allocations: 8.391 kB / 0.6882 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.7152, allocations: 5.344 kB / 0.6882 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.137e-05/0.7152, allocations: 84.8 kB / 0.6883 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.719e-06/0.7152, allocations: 0 / 0.6883 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000321/0.7156, allocations: 32.62 kB / 0.6884 GB, free: 12.38 MB / 0.5261 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.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.0002081/0.7158, allocations: 130.8 kB / 0.6885 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.716, allocations: 178.3 kB / 0.6887 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.091e-06/0.7161, allocations: 0 / 0.6887 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.7162, allocations: 105 kB / 0.6888 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.7163, allocations: 3.375 kB / 0.6888 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.7167, allocations: 180.1 kB / 0.6889 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.7168, allocations: 0.6999 MB / 0.6896 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.7169, allocations: 10.86 kB / 0.6896 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.7169, allocations: 9.703 kB / 0.6896 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.365e-06/0.7169, allocations: 0 / 0.6896 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.00387/0.7208, allocations: 0.8532 MB / 0.6905 GB, free: 11.08 MB / 0.5261 GB