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.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001236/0.001236, allocations: 191 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.1 MB / 222 MB, free: 4.754 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.576/1.576, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001366/0.001366, allocations: 63.39 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2133, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001604/0.2149, allocations: 0.6961 MB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2161, allocations: 1.126 MB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.2161, allocations: 0 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.742e-05/0.2162, allocations: 3.938 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.2163, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.2166, allocations: 119.5 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.2168, allocations: 167.7 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.2169, allocations: 15.98 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.2169, allocations: 59.89 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.217, allocations: 51.8 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.2171, allocations: 12 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.246e-05/0.2172, allocations: 27.97 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.2172, allocations: 19.98 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.2173, allocations: 59.77 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2175, allocations: 187.8 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2175, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2175, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2175, allocations: 4 kB / 0.7853 GB, free: 11.39 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.0004825/0.218, allocations: 450.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2181, allocations: 8.031 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.2181, allocations: 42.67 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.2182, allocations: 20.84 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.2184, allocations: 216.2 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2184, allocations: 8.375 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.2184, allocations: 12.38 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2186, allocations: 99.86 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2186, allocations: 3.938 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2186, allocations: 7.938 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2186, allocations: 0 / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.2187, allocations: 39.97 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.2192, allocations: 0.4968 MB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.2193, allocations: 53.14 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.2193, allocations: 33.77 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.2194, allocations: 3.938 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.2195, allocations: 109 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2195, allocations: 0 / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002416/0.2197, allocations: 137.8 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.2198, allocations: 77.11 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.2199, allocations: 141.7 kB / 0.7872 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.2199, allocations: 29.7 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.22, allocations: 104 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.22, allocations: 19.81 kB / 0.7873 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.2201, allocations: 53.69 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.2202, allocations: 314.8 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.2204, allocations: 127.9 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.2206, allocations: 157 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.2208, allocations: 232.4 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2209, allocations: 0 / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004974/0.2214, allocations: 376.6 kB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.2214, allocations: 63.39 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2214, allocations: 4 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2214, allocations: 0 / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.2215, allocations: 7.938 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2215, allocations: 192 / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.2218, allocations: 75.84 kB / 0.7887 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.2219, allocations: 11.98 kB / 0.7887 GB, free: 7.555 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 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.222, allocations: 130.5 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.222, allocations: 11.91 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.222, allocations: 11.89 kB / 0.7888 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2221, allocations: 4 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2221, allocations: 0 / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2221, allocations: 3.938 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.2222, allocations: 185.6 kB / 0.789 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2222, allocations: 7.938 kB / 0.789 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.2222, allocations: 7.938 kB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2222, allocations: 0 / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2222, allocations: 0 / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2222, allocations: 0 / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2222, allocations: 4 kB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.2224, allocations: 145.7 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.2224, allocations: 81.02 kB / 0.7892 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2225, allocations: 0 / 0.7892 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.2225, allocations: 7.984 kB / 0.7892 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2225, allocations: 3.938 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.2225, allocations: 4 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.2226, allocations: 107.7 kB / 0.7894 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2226, allocations: 4 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002265/0.2228, allocations: 35.94 kB / 0.7894 GB, free: 6.707 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003892/0.2232, allocations: 0.6721 MB / 0.7901 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.2236, allocations: 322.6 kB / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2236, allocations: 0 / 0.7904 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.2237, allocations: 43.89 kB / 0.7904 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.2239, allocations: 23.86 kB / 0.7904 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.226, allocations: 2.171 MB / 0.7925 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2262, allocations: 0.7043 MB / 0.7932 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.2263, allocations: 4 kB / 0.7932 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.2263, allocations: 23.42 kB / 0.7933 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2263, allocations: 0 / 0.7933 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.276/1.503, allocations: 3.253 MB / 0.7964 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.503, allocations: 220.9 kB / 0.7966 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/3.264, allocations: 1.5 kB / 0.7966 GB, free: 15.2 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/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)