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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.00169/0.00169, allocations: 172.2 kB / 377.1 MB, free: 1.512 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.793/1.793, allocations: 205.4 MB / 0.6366 GB, free: 8.605 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.0009742/0.0009742, allocations: 91.3 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003865, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2902, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8065/1.097, allocations: 139.1 MB / 1.124 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.097, allocations: 66.41 kB / 1.124 GB, free: 35.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008993/1.106, allocations: 3.033 MB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.467e-06/1.106, allocations: 0 / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.183e-05/1.106, allocations: 0 / 1.127 GB, free: 33.31 MB / 0.7292 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.0005377/1.107, allocations: 430.5 kB / 1.128 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.107, allocations: 16.02 kB / 1.128 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/1.107, allocations: 34.5 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/1.107, allocations: 22.08 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/1.107, allocations: 222.2 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/1.107, allocations: 10.34 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/1.107, allocations: 19.44 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/1.108, allocations: 96.94 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.108, allocations: 0 / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/1.108, allocations: 0.5 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.108, allocations: 0 / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/1.108, allocations: 46.59 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/1.108, allocations: 491 kB / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/1.108, allocations: 55.95 kB / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/1.108, allocations: 0 / 1.129 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/1.108, allocations: 107.9 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/1.108, allocations: 4 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003008/1.109, allocations: 133.8 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/1.109, allocations: 85.28 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/1.109, allocations: 120.6 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/1.109, allocations: 33.7 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/1.109, allocations: 107.4 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/1.109, allocations: 11.81 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/1.109, allocations: 4 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/1.109, allocations: 322.3 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/1.109, allocations: 126.7 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/1.11, allocations: 165.2 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/1.11, allocations: 182.9 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.11, allocations: 0 / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004864/1.11, allocations: 397.5 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/1.11, allocations: 62.92 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.11, allocations: 4.188 kB / 1.13 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.11, allocations: 4.562 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.302e-05/1.11, allocations: 8.5 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.11, allocations: 4.734 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/1.111, allocations: 91.91 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/1.111, allocations: 11.38 kB / 1.131 GB, free: 30.01 MB / 0.7292 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 () * Number of clocked 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 0.0001098/1.111, allocations: 133.2 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/1.111, allocations: 8.75 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/1.111, allocations: 13.06 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.111, allocations: 4 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.111, allocations: 4 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.111, allocations: 3.953 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/1.111, allocations: 184 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.111, allocations: 0 / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/1.111, allocations: 4.125 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.111, allocations: 0 / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/1.111, allocations: 8.5 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.111, allocations: 0 / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.111, allocations: 0 / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/1.111, allocations: 146.8 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/1.111, allocations: 85.02 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/1.111, allocations: 3.875 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/1.111, allocations: 0.8438 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/1.112, allocations: 11.33 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/1.112, allocations: 8.562 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.569e-05/1.112, allocations: 99.86 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.112, allocations: 0 / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002554/1.112, allocations: 43.45 kB / 1.131 GB, free: 29.21 MB / 0.7292 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 () * Number of clocked 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.0003844/1.112, allocations: 0.761 MB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003735/1.113, allocations: 324.7 kB / 1.132 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.113, allocations: 0 / 1.132 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/1.113, allocations: 35.45 kB / 1.132 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/1.113, allocations: 20.69 kB / 1.132 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/1.114, allocations: 1.215 MB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/1.114, allocations: 0.7067 MB / 1.134 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.663e-05/1.114, allocations: 12 kB / 1.134 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/1.114, allocations: 28.03 kB / 1.134 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/1.114, allocations: 0 / 1.134 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/1.131, allocations: 3.113 MB / 1.137 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/1.131, allocations: 203.2 kB / 1.138 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.859, allocations: 0 / 1.138 GB, free: 24.16 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)