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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005374, allocations: 13.59 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2523, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0007937/0.2531, allocations: 357.8 kB / 0.7878 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2545, allocations: 1.095 MB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.2545, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.2546, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.302e-05/0.2547, allocations: 7.922 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2552, allocations: 107 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.2554, allocations: 151.7 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2555, allocations: 12 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.2556, allocations: 63.88 kB / 0.7892 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.2557, allocations: 43.88 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.2557, allocations: 8 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.2558, allocations: 19.98 kB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.2559, allocations: 31.91 kB / 0.7893 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.2559, allocations: 41.7 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.2561, allocations: 139.9 kB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2561, allocations: 0 / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2561, allocations: 0 / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2561, allocations: 0 / 0.7894 GB, free: 9.77 MB / 0.6075 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.0004788/0.2566, allocations: 430.5 kB / 0.7898 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2567, allocations: 8.031 kB / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.2567, allocations: 30.56 kB / 0.7899 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.2568, allocations: 15.91 kB / 0.7899 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.257, allocations: 226.8 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.257, allocations: 11.98 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.2571, allocations: 15.98 kB / 0.7901 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2572, allocations: 95.36 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2573, allocations: 0 / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2573, allocations: 7.875 kB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2573, allocations: 4 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.2573, allocations: 39.97 kB / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.2579, allocations: 492.8 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.08e-05/0.258, allocations: 57.19 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.258, allocations: 37.7 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.258, allocations: 0 / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.2582, allocations: 117 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.2582, allocations: 0 / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002764/0.2585, allocations: 129.5 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.2585, allocations: 85.11 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.2586, allocations: 133.7 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.2587, allocations: 33.69 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.2588, allocations: 104 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.2588, allocations: 7.859 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.2588, allocations: 4 kB / 0.7914 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2589, allocations: 322.8 kB / 0.7917 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2591, allocations: 135.8 kB / 0.7919 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.2593, allocations: 161 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.2595, allocations: 163.3 kB / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2595, allocations: 0 / 0.7922 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005213/0.26, allocations: 380.6 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.2601, allocations: 67.39 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2601, allocations: 4 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2601, allocations: 3.953 kB / 0.7926 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.2602, allocations: 7.938 kB / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2602, allocations: 0 / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003998/0.2606, allocations: 88 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.2606, allocations: 19.98 kB / 0.7927 GB, free: 6.07 MB / 0.6075 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.0001557/0.2608, allocations: 137.7 kB / 0.7928 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.2608, allocations: 4 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.2609, allocations: 12.27 kB / 0.7929 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2609, allocations: 4 kB / 0.7929 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2609, allocations: 3.953 kB / 0.7929 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2609, allocations: 3.984 kB / 0.7929 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.2611, allocations: 185.6 kB / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2611, allocations: 0 / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.645e-06/0.2611, allocations: 0 / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2611, allocations: 0 / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2611, allocations: 4 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2612, allocations: 7.938 kB / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2612, allocations: 0 / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.2614, allocations: 141.8 kB / 0.7932 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.2614, allocations: 85.02 kB / 0.7933 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.2615, allocations: 4 kB / 0.7933 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.145e-05/0.2615, allocations: 3.984 kB / 0.7933 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2615, allocations: 8 kB / 0.7933 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2615, allocations: 12.02 kB / 0.7933 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.329e-05/0.2616, allocations: 107.7 kB / 0.7934 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2616, allocations: 0 / 0.7934 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002674/0.2619, allocations: 35.94 kB / 0.7934 GB, free: 5.223 MB / 0.6075 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.0005427/0.2624, allocations: 0.6759 MB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.2629, allocations: 322.6 kB / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2629, allocations: 0 / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.263, allocations: 35.91 kB / 0.7944 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.2632, allocations: 23.92 kB / 0.7945 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.2648, allocations: 1.004 MB / 0.7954 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.2651, allocations: 0.7044 MB / 0.7961 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.2651, allocations: 4 kB / 0.7961 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2652, allocations: 23.42 kB / 0.7962 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.2652, allocations: 0 / 0.7962 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.2781, allocations: 3.165 MB / 0.7992 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.2784, allocations: 217.4 kB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.163, allocations: 0 / 0.7995 GB, free: 15.07 MB / 0.6231 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) Environment - environmentSimulation: