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.672/1.672, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001078/0.001078, allocations: 184.8 kB / 366.7 MB, free: 1.637 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.677/1.677, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009388/0.0009389, allocations: 91.33 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.25e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8071, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/1.018, allocations: 138.3 MB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.019, allocations: 68.8 kB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008962/1.028, allocations: 3.01 MB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/1.028, allocations: 0 / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.028, allocations: 4 kB / 1.111 GB, free: 8.734 MB / 0.7136 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.0004822/1.028, allocations: 414.8 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.028, allocations: 15.84 kB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/1.028, allocations: 11.91 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/1.028, allocations: 226.8 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.029, allocations: 4 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/1.029, allocations: 8 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/1.029, allocations: 35.98 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.029, allocations: 87.36 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.029, allocations: 3.984 kB / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.029, allocations: 4 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/1.029, allocations: 6.906 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/1.029, allocations: 465.3 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.894e-05/1.03, allocations: 53.14 kB / 1.113 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/1.03, allocations: 29.77 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/1.03, allocations: 0 / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/1.03, allocations: 111.4 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/1.03, allocations: 4 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002587/1.03, allocations: 101.5 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.03, allocations: 81.06 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.03, allocations: 125.6 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/1.03, allocations: 33.7 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/1.03, allocations: 98.67 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/1.03, allocations: 15.88 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/1.03, allocations: 8 kB / 1.113 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.031, allocations: 314.8 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/1.031, allocations: 119.8 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/1.031, allocations: 153 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/1.031, allocations: 123.9 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.031, allocations: 0 / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006474/1.032, allocations: 321.2 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/1.032, allocations: 71.39 kB / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.032, allocations: 0 / 1.114 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.032, allocations: 7.938 kB / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.051e-05/1.032, allocations: 0 / 1.114 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.032, allocations: 7.984 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/1.032, allocations: 84.06 kB / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/1.033, allocations: 15.98 kB / 1.114 GB, free: 5.371 MB / 0.7136 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 0.0001091/1.033, allocations: 116.9 kB / 1.115 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001297/1.033, allocations: 93.55 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/1.033, allocations: 7.906 kB / 1.115 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/1.033, allocations: 12.34 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.033, allocations: 1.312 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.033, allocations: 3.953 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.033, allocations: 3.984 kB / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/1.033, allocations: 162.2 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.033, allocations: 0 / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/1.033, allocations: 7.938 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/1.033, allocations: 2.5 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/1.033, allocations: 0 / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/1.033, allocations: 3.984 kB / 1.115 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.033, allocations: 4 kB / 1.115 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/1.033, allocations: 135.6 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/1.033, allocations: 81.02 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/1.033, allocations: 9.859 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/1.033, allocations: 0 / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/1.033, allocations: 11.95 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/1.033, allocations: 3.984 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.581e-05/1.033, allocations: 92.7 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.033, allocations: 3.938 kB / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000267/1.034, allocations: 39.98 kB / 1.115 GB, free: 4.496 MB / 0.7136 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.0005364/1.034, allocations: 0.7539 MB / 1.116 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004188/1.035, allocations: 310.5 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.035, allocations: 384 / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/1.035, allocations: 39.92 kB / 1.116 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/1.035, allocations: 21.58 kB / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/1.035, allocations: 186.7 kB / 1.117 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/1.036, allocations: 0.7048 MB / 1.117 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.56e-05/1.036, allocations: 11.98 kB / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/1.036, allocations: 19.44 kB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of SimCode: time 3.6e-07/1.036, allocations: 3.094 kB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/1.06, allocations: 2.632 MB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/1.061, allocations: 159.6 kB / 1.12 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.713, allocations: 0 / 1.12 GB, free: 15.6 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)