Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.854/4.854, allocations: 0.5623 GB / 0.5769 GB, free: 3.262 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002382/0.002381, allocations: 362.1 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.154/4.154, allocations: 410.7 MB / 1.112 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 180 kB / 1.225 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004883, allocations: 12 kB / 1.348 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.629, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0006518/0.6297, allocations: 340.1 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.6309, allocations: 1.072 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.631, allocations: 4 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.592e-05/0.6311, allocations: 6 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.379e-05/0.6311, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.6316, allocations: 107.8 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.6317, allocations: 67.88 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.694e-05/0.6317, allocations: 8.641 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.6318, allocations: 32.52 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.372e-05/0.6319, allocations: 25.25 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.6319, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.632, allocations: 19.98 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.632, allocations: 11.92 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.6321, allocations: 40.05 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.6322, allocations: 55.86 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.283e-06/0.6322, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.751e-06/0.6322, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.6322, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003084/0.6325, allocations: 371.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6326, allocations: 15.62 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.6326, allocations: 5.781 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.6328, allocations: 182.9 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.6328, allocations: 4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.6329, allocations: 4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.633, allocations: 46.19 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.633, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-06/0.633, allocations: 3.438 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-06/0.633, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.6331, allocations: 11.92 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.6334, allocations: 304.8 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.6334, allocations: 23.08 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.6335, allocations: 9.672 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.181e-06/0.6335, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.6336, allocations: 61.42 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.135e-06/0.6336, allocations: 0.75 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001709/0.6338, allocations: 62.44 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.6339, allocations: 55.36 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.6339, allocations: 114.3 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.634, allocations: 27.61 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.634, allocations: 96.11 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.634, allocations: 11.84 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.6341, allocations: 3.938 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.6341, allocations: 316.1 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.6342, allocations: 27.98 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.6343, allocations: 53.86 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.6344, allocations: 50.73 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-06/0.6345, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002841/0.6347, allocations: 143.3 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.6348, allocations: 41.28 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6348, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6348, allocations: 0.625 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.6349, allocations: 9 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6349, allocations: 3.953 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.6351, allocations: 42.44 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.6352, allocations: 7.984 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * 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 prepare postOptimizeDAE: time 7.694e-05/0.6353, allocations: 127.1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.6353, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.6353, allocations: 4.75 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-06/0.6353, allocations: 4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.893e-06/0.6353, allocations: 4.953 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.113e-06/0.6354, allocations: 3.953 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.954e-05/0.6355, allocations: 158.4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-06/0.6355, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.876e-06/0.6355, allocations: 4.938 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.731e-06/0.6355, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.795e-06/0.6355, allocations: 7.984 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.313e-06/0.6355, allocations: 0.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-06/0.6355, allocations: 5.781 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.6356, allocations: 76.06 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.6357, allocations: 85.02 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.6357, allocations: 1.625 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.6357, allocations: 8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.6358, allocations: 7.922 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-06/0.6358, allocations: 0.6875 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.6358, allocations: 83.28 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.25e-07/0.6358, allocations: 6.656 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002746/0.6361, allocations: 12 kB / 1.465 GB, free: 279.5 MB / 0.8542 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,$whenCondition2,booPul.y) * 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.000116/0.6363, allocations: 107.2 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.6365, allocations: 119.4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.612e-06/0.6365, allocations: 0.625 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.6365, allocations: 13.12 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.6368, allocations: 16.59 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.6371, allocations: 132.4 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.6372, allocations: 0.6816 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.6372, allocations: 4.562 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.6373, allocations: 8.094 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.476e-06/0.6373, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003562/0.6408, allocations: 0.9658 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB