Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.7 MB / 302.3 MB, free: 2.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 185.3 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 90.22 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.929e-05/4.978e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3268, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9105/1.237, allocations: 139 MB / 1.116 GB, free: 44.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/1.238, allocations: 66.55 kB / 1.116 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008296/1.246, allocations: 3.009 MB / 1.119 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.384e-06/1.246, allocations: 0 / 1.119 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.246, allocations: 4 kB / 1.119 GB, free: 42.99 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003883/1.247, allocations: 424.2 kB / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/1.247, allocations: 8.031 kB / 1.119 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/1.247, allocations: 14.25 kB / 1.119 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/1.247, allocations: 215.8 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.247, allocations: 7.125 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/1.247, allocations: 20.11 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/1.247, allocations: 93.61 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.247, allocations: 4 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/1.247, allocations: 5 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.247, allocations: 4 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.589e-05/1.247, allocations: 37.45 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/1.248, allocations: 492.4 kB / 1.12 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/1.248, allocations: 60.73 kB / 1.12 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/1.248, allocations: 25.3 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/1.248, allocations: 0 / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/1.248, allocations: 108.5 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/1.248, allocations: 4 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002467/1.248, allocations: 114.2 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.249, allocations: 84.8 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/1.249, allocations: 118.7 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.249, allocations: 36.95 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/1.249, allocations: 99.88 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/1.249, allocations: 14.81 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/1.249, allocations: 4 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/1.249, allocations: 318.3 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.249, allocations: 129 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/1.249, allocations: 160.8 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/1.249, allocations: 184.4 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.249, allocations: 0 / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004787/1.25, allocations: 390.7 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/1.25, allocations: 67.5 kB / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.25, allocations: 0 / 1.122 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.25, allocations: 4 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.141e-05/1.25, allocations: 7.875 kB / 1.122 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.25, allocations: 7.953 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/1.25, allocations: 87.58 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/1.25, allocations: 12 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * 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 8.308e-05/1.251, allocations: 116.8 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/1.251, allocations: 8.469 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/1.251, allocations: 11.53 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.251, allocations: 1.547 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.251, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.251, allocations: 3.953 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/1.251, allocations: 191.1 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.251, allocations: 0 / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-06/1.251, allocations: 4 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.251, allocations: 4 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.251, allocations: 0.5 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.251, allocations: 8.688 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.251, allocations: 0 / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/1.251, allocations: 149 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/1.251, allocations: 81.11 kB / 1.122 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/1.251, allocations: 0 / 1.122 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/1.251, allocations: 7.797 kB / 1.122 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/1.251, allocations: 7.453 kB / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.251, allocations: 8.219 kB / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.09e-05/1.251, allocations: 103.1 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.251, allocations: 0 / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002308/1.251, allocations: 36 kB / 1.122 GB, free: 39.29 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * 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.0001887/1.252, allocations: 121 kB / 1.123 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003654/1.252, allocations: 315.3 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.252, allocations: 0 / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/1.252, allocations: 42.16 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/1.252, allocations: 15.47 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/1.253, allocations: 144.8 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/1.253, allocations: 0.7048 MB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.654e-05/1.253, allocations: 8 kB / 1.124 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/1.253, allocations: 11.44 kB / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/1.253, allocations: 1.031 kB / 1.124 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of Templates: time 0.004337/1.257, allocations: 2.091 MB / 1.126 GB, free: 36.9 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)