Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.688/2.688, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001544/0.001544, allocations: 186.2 kB / 325.6 MB, free: 2.828 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.405/2.405, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001145/0.001145, allocations: 98.5 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004621, allocations: 12.09 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001565/0.2292, allocations: 1.029 MB / 0.8999 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004443/0.2297, allocations: 185.5 kB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.2298, allocations: 0 / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.279e-05/0.2299, allocations: 0 / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.2299, allocations: 11.97 kB / 0.9001 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2301, allocations: 7.938 kB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.2301, allocations: 23.91 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.2302, allocations: 8 kB / 0.9001 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.2303, allocations: 7.984 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.2303, allocations: 11.94 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2304, allocations: 0 / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.2304, allocations: 4 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.2304, allocations: 7.984 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.2305, allocations: 37.64 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.784e-05/0.2306, allocations: 23.94 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2306, allocations: 0 / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2306, allocations: 4 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2306, allocations: 0 / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004658/0.2311, allocations: 339.6 kB / 0.9005 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2311, allocations: 12.03 kB / 0.9005 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.2312, allocations: 11.84 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2313, allocations: 179 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2313, allocations: 0 / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.2314, allocations: 4 kB / 0.9007 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2315, allocations: 45.69 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2315, allocations: 0 / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2315, allocations: 0 / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2316, allocations: 4 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.186e-05/0.2316, allocations: 23.91 kB / 0.9008 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.2321, allocations: 284.9 kB / 0.9011 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.2322, allocations: 26.58 kB / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2322, allocations: 0 / 0.9011 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.2324, allocations: 63.31 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.2324, allocations: 0 / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001911/0.2326, allocations: 53.64 kB / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.2326, allocations: 59.39 kB / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.2327, allocations: 105.8 kB / 0.9014 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.2327, allocations: 29.7 kB / 0.9014 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2328, allocations: 88.03 kB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.2328, allocations: 11.94 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.2328, allocations: 4 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.2329, allocations: 310.8 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.2329, allocations: 8 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.453e-05/0.233, allocations: 17.7 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.233, allocations: 8 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.233, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.2332, allocations: 61.53 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2332, allocations: 6.188 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2332, allocations: 0 / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2332, allocations: 4 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.2333, allocations: 0 / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.2333, allocations: 3.953 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.2334, allocations: 15.98 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2334, allocations: 0 / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * 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 8.268e-05/0.2335, allocations: 117.9 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2335, allocations: 0 / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.2336, allocations: 11.5 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2336, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2336, allocations: 7.922 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2336, allocations: 3.953 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2338, allocations: 161.7 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2338, allocations: 0 / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-06/0.2338, allocations: 0 / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2338, allocations: 3.984 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.2338, allocations: 4 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2338, allocations: 4 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2338, allocations: 3.938 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.234, allocations: 77.41 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.234, allocations: 84.95 kB / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.234, allocations: 0 / 0.9024 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.2341, allocations: 11.97 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.2342, allocations: 11.98 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2342, allocations: 4.25 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.993e-05/0.2342, allocations: 87.27 kB / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2343, allocations: 0 / 0.9025 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002425/0.2345, allocations: 12 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001227/0.2346, allocations: 99.2 kB / 0.9026 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.2348, allocations: 23.92 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2348, allocations: 0 / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.2348, allocations: 12.06 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.235, allocations: 13.36 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.2354, allocations: 134.5 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2355, allocations: 0.6809 MB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.2356, allocations: 4 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.2356, allocations: 15.42 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.2356, allocations: 3.938 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.003096/0.2387, allocations: 451.4 kB / 0.9039 GB, free: 60 MB / 0.6042 GB