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.64/1.64, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001054/0.001054, allocations: 179.5 kB / 371.6 MB, free: 3.379 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.709/1.709, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009478/0.0009479, allocations: 91.06 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.327e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3153, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9588/1.274, allocations: 139 MB / 1.116 GB, free: 44.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.274, allocations: 74.64 kB / 1.116 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008767/1.283, allocations: 3.015 MB / 1.119 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.435e-06/1.283, allocations: 0 / 1.119 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.283, allocations: 4 kB / 1.119 GB, free: 42.85 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.0004261/1.284, allocations: 426.2 kB / 1.119 GB, free: 42.4 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.284, allocations: 12.03 kB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/1.284, allocations: 34.56 kB / 1.119 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.853e-05/1.284, allocations: 21.14 kB / 1.119 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/1.284, allocations: 212.6 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.284, allocations: 10.2 kB / 1.119 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/1.284, allocations: 15.38 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/1.284, allocations: 96.52 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.284, allocations: 0.5 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/1.284, allocations: 5.266 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.284, allocations: 4 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.782e-05/1.285, allocations: 40.91 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/1.285, allocations: 492.1 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/1.285, allocations: 51.8 kB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/1.285, allocations: 31.84 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/1.285, allocations: 1.125 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/1.285, allocations: 119.6 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/1.285, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002517/1.286, allocations: 107.4 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.286, allocations: 83.86 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/1.286, allocations: 123.2 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/1.286, allocations: 29.7 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/1.286, allocations: 105.8 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/1.286, allocations: 11.84 kB / 1.121 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/1.286, allocations: 7.188 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.415e-05/1.286, allocations: 321.5 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/1.286, allocations: 119.1 kB / 1.121 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/1.286, allocations: 164.5 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/1.287, allocations: 186.5 kB / 1.121 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.287, allocations: 0 / 1.121 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004707/1.287, allocations: 393.6 kB / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/1.287, allocations: 63.34 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.287, allocations: 7.375 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.287, allocations: 0 / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.56e-05/1.287, allocations: 13.73 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.287, allocations: 0 / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/1.288, allocations: 88.52 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.288, allocations: 15.47 kB / 1.122 GB, free: 39.84 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 7.193e-05/1.288, allocations: 115.2 kB / 1.122 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/1.288, allocations: 7.906 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/1.288, allocations: 10.7 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/1.288, allocations: 4 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.288, allocations: 4.891 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.288, allocations: 0 / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/1.288, allocations: 186 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.288, allocations: 4 kB / 1.122 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/1.288, allocations: 4.875 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/1.288, allocations: 0 / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.288, allocations: 4.562 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.288, allocations: 0 / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.288, allocations: 0 / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/1.288, allocations: 151.2 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/1.288, allocations: 85.11 kB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1.288, allocations: 0 / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/1.288, allocations: 0.5 kB / 1.122 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/1.288, allocations: 11.38 kB / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/1.288, allocations: 4.656 kB / 1.122 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.594e-05/1.288, allocations: 98.56 kB / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.288, allocations: 0 / 1.123 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002306/1.289, allocations: 39.5 kB / 1.123 GB, free: 39.11 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.0004391/1.289, allocations: 0.7692 MB / 1.123 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000368/1.289, allocations: 317.7 kB / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.289, allocations: 384 / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.146e-05/1.289, allocations: 43.25 kB / 1.124 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/1.29, allocations: 18.58 kB / 1.124 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/1.29, allocations: 187.9 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/1.29, allocations: 0.7049 MB / 1.125 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.743e-05/1.29, allocations: 12.64 kB / 1.125 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/1.29, allocations: 20.69 kB / 1.125 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.29, allocations: 0 / 1.125 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/1.303, allocations: 3.155 MB / 1.128 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/1.303, allocations: 170.1 kB / 1.128 GB, free: 35.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.92, allocations: 0 / 1.128 GB, free: 35.21 MB / 0.7448 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)