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.0007144/0.0007144, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004296/0.004296, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.393/1.393, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005063/0.0005063, allocations: 15.7 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.215, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0007379/0.2158, allocations: 361.8 kB / 0.7884 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.217, allocations: 1.118 MB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.2171, allocations: 0 / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.804e-05/0.2172, allocations: 7.938 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.2172, allocations: 0 / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.2176, allocations: 118.5 kB / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.2178, allocations: 163.7 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2179, allocations: 15.98 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.218, allocations: 59.89 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2181, allocations: 47.81 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.2181, allocations: 8 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.2182, allocations: 23.98 kB / 0.7899 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.2183, allocations: 31.89 kB / 0.7899 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.2184, allocations: 77.48 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.2186, allocations: 191.7 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2186, allocations: 0 / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.567e-06/0.2186, allocations: 0 / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.2186, allocations: 7.938 kB / 0.7902 GB, free: 9.227 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.000452/0.219, allocations: 418.7 kB / 0.7906 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2191, allocations: 8.031 kB / 0.7906 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.2191, allocations: 34.75 kB / 0.7906 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.2192, allocations: 16.84 kB / 0.7906 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.2194, allocations: 216.2 kB / 0.7908 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2194, allocations: 8.375 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.2195, allocations: 12.38 kB / 0.7908 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.2196, allocations: 111.8 kB / 0.791 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2197, allocations: 3.938 kB / 0.791 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2197, allocations: 0 / 0.791 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2197, allocations: 0 / 0.791 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.512e-05/0.2197, allocations: 43.97 kB / 0.791 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.2203, allocations: 0.4889 MB / 0.7915 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/0.2203, allocations: 57.14 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.2204, allocations: 33.75 kB / 0.7916 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.2204, allocations: 7.922 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.2205, allocations: 113 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.2206, allocations: 0 / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002571/0.2208, allocations: 133.5 kB / 0.7918 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.2209, allocations: 81.05 kB / 0.7919 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.221, allocations: 137.8 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.221, allocations: 33.7 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.2211, allocations: 100 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.2211, allocations: 15.75 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.2212, allocations: 25.7 kB / 0.7922 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2213, allocations: 318.8 kB / 0.7925 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2215, allocations: 127.9 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.2217, allocations: 161 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.222, allocations: 224.4 kB / 0.793 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.222, allocations: 0 / 0.793 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005159/0.2225, allocations: 380.6 kB / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.2226, allocations: 67.58 kB / 0.7934 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2226, allocations: 4 kB / 0.7934 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2226, allocations: 3.938 kB / 0.7934 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.2226, allocations: 4 kB / 0.7934 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2226, allocations: 0 / 0.7934 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.223, allocations: 91.84 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.2231, allocations: 15.98 kB / 0.7935 GB, free: 5.434 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.0001169/0.2232, allocations: 134.5 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.2232, allocations: 7.906 kB / 0.7937 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.2233, allocations: 7.906 kB / 0.7937 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2233, allocations: 7.984 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2233, allocations: 0 / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2233, allocations: 7.875 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.2235, allocations: 185.6 kB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2235, allocations: 3.938 kB / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-06/0.2235, allocations: 0 / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2235, allocations: 0 / 0.7939 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2235, allocations: 4 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2235, allocations: 0 / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2235, allocations: 0 / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2237, allocations: 146.2 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.2238, allocations: 81.11 kB / 0.7941 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2238, allocations: 3.984 kB / 0.7941 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.2238, allocations: 3.984 kB / 0.7941 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2239, allocations: 15.88 kB / 0.7941 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2239, allocations: 4 kB / 0.7941 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.102e-05/0.224, allocations: 103.2 kB / 0.7942 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.224, allocations: 0 / 0.7942 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002667/0.2243, allocations: 43.84 kB / 0.7942 GB, free: 4.582 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.000517/0.2248, allocations: 0.6602 MB / 0.7949 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.2253, allocations: 330.5 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2253, allocations: 0 / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.2254, allocations: 35.97 kB / 0.7952 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.2257, allocations: 23.02 kB / 0.7953 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2281, allocations: 2.18 MB / 0.7974 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2283, allocations: 0.7043 MB / 0.7981 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.2284, allocations: 11.98 kB / 0.7981 GB, free: 444 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2284, allocations: 15.44 kB / 0.7981 GB, free: 428 kB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2284, allocations: 0 / 0.7981 GB, free: 428 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.2409, allocations: 3.205 MB / 0.8012 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.2411, allocations: 222.7 kB / 0.8014 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.892, allocations: 0 / 0.8014 GB, free: 13.16 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)