Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 178.6 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008998/0.0008997, allocations: 78.02 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 15.47 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.226, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001451/0.2275, allocations: 1.029 MB / 0.9025 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000409/0.2279, allocations: 201.6 kB / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.228, allocations: 0 / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.712e-05/0.2281, allocations: 0 / 0.9027 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.2281, allocations: 3.938 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.2283, allocations: 8 kB / 0.9027 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.2284, allocations: 27.92 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2285, allocations: 19.91 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.2286, allocations: 7.938 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.2286, allocations: 15.92 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2287, allocations: 0 / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2287, allocations: 0 / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.2288, allocations: 8 kB / 0.9028 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.2288, allocations: 41.62 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.031e-05/0.2289, allocations: 23.95 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2289, allocations: 0 / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2289, allocations: 0 / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2289, allocations: 0 / 0.9028 GB, free: 62.12 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.000467/0.2294, allocations: 347.7 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2294, allocations: 15.97 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.2295, allocations: 4.844 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.2296, allocations: 176.4 kB / 0.9033 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2297, allocations: 4.375 kB / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.2297, allocations: 384 / 0.9033 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2298, allocations: 50.19 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2298, allocations: 192 / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2298, allocations: 7.938 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.2298, allocations: 4 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.2299, allocations: 15.98 kB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.2303, allocations: 280.8 kB / 0.9037 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.477e-05/0.2304, allocations: 30.5 kB / 0.9037 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.2304, allocations: 12.92 kB / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.2304, allocations: 0 / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.2306, allocations: 55.41 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2306, allocations: 0 / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.2308, allocations: 61.62 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2308, allocations: 51.41 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.2309, allocations: 105.8 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.2309, allocations: 33.64 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.231, allocations: 96.03 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.231, allocations: 3.906 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.231, allocations: 0 / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.2311, allocations: 318.8 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.2311, allocations: 4 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.2311, allocations: 25.7 kB / 0.9044 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.2312, allocations: 33.92 kB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2312, allocations: 0 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.807e-05/0.2312, allocations: 49.69 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2313, allocations: 8 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2313, allocations: 0 / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2313, allocations: 0 / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.2313, allocations: 7.938 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2314, allocations: 3.938 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.2314, allocations: 12.02 kB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.2314, allocations: 4 kB / 0.9046 GB, free: 60.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.2315, allocations: 117.8 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.2315, allocations: 0 / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.2315, allocations: 3.5 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2316, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2316, allocations: 4 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2316, allocations: 3.984 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.45e-05/0.2317, allocations: 169.5 kB / 0.9048 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2317, allocations: 4 kB / 0.9048 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-06/0.2317, allocations: 0 / 0.9048 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2317, allocations: 3.984 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.2317, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2317, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2317, allocations: 0 / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.329e-05/0.2318, allocations: 80.91 kB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.2318, allocations: 81.11 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2319, allocations: 4 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.2319, allocations: 11.98 kB / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.232, allocations: 0 / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.232, allocations: 4 kB / 0.905 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.232, allocations: 91.52 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.232, allocations: 0 / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001833/0.2322, allocations: 7.938 kB / 0.9051 GB, free: 59.42 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.2323, allocations: 99.25 kB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.72e-05/0.2324, allocations: 31.86 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2324, allocations: 0 / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.103e-05/0.2325, allocations: 12 kB / 0.9053 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2327, allocations: 9.672 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.233, allocations: 172.3 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2331, allocations: 0.6849 MB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.2332, allocations: 11.44 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2332, allocations: 0 / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.00198/0.2352, allocations: 0.6518 MB / 0.9067 GB, free: 57.7 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)