Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",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.001082/0.001082, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 188.4 kB / 16.62 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.405/1.405, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.679/1.679, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00159/0.00159, allocations: 70.52 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3108, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002208/0.313, allocations: 0.6224 MB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3145, allocations: 1.125 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.3146, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.3147, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.537e-05/0.3148, allocations: 11.92 kB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.3153, allocations: 119 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3155, allocations: 87.89 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3156, allocations: 11.98 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.3157, allocations: 39.84 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3158, allocations: 31.95 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.3158, allocations: 8 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.3159, allocations: 19.98 kB / 0.7857 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.316, allocations: 15.92 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.316, allocations: 27.92 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.3162, allocations: 95.77 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3162, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3162, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3162, allocations: 0 / 0.7858 GB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005803/0.3168, allocations: 381.4 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3169, allocations: 8.031 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.3169, allocations: 30.75 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.317, allocations: 8.844 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3172, allocations: 188.3 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3172, allocations: 4.375 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3173, allocations: 12.31 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3174, allocations: 46.25 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3174, allocations: 3.938 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3174, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3174, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.3175, allocations: 15.98 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3179, allocations: 308.7 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.546e-05/0.3179, allocations: 18.58 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.318, allocations: 13.98 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.318, allocations: 3.984 kB / 0.7868 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.3181, allocations: 59.31 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3181, allocations: 0 / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002161/0.3184, allocations: 65.73 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3184, allocations: 51.41 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.3185, allocations: 113.8 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3185, allocations: 29.7 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.3186, allocations: 96.03 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.3186, allocations: 3.906 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.3187, allocations: 29.7 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3188, allocations: 322.8 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.3189, allocations: 27.98 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.319, allocations: 50.55 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.3191, allocations: 84.2 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3191, allocations: 4 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002384/0.3194, allocations: 135.3 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.3194, allocations: 41.69 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3194, allocations: 0 / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3195, allocations: 8.094 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.416e-05/0.3195, allocations: 0 / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3195, allocations: 0 / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.3197, allocations: 23.97 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3197, allocations: 4 kB / 0.7879 GB, free: 8.625 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.806e-05/0.3198, allocations: 130.4 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.3198, allocations: 3.906 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.3199, allocations: 7.906 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3199, allocations: 4 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3199, allocations: 3.938 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3199, allocations: 0 / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.32, allocations: 169.6 kB / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.32, allocations: 320 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.32, allocations: 0 / 0.7882 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3201, allocations: 4 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3201, allocations: 0 / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3201, allocations: 4 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3201, allocations: 0 / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.3202, allocations: 85 kB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.3202, allocations: 81.09 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3203, allocations: 4 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.304e-05/0.3203, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.3203, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3203, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.3204, allocations: 91.27 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3204, allocations: 0 / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002248/0.3206, allocations: 20 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004243/0.321, allocations: 0.6279 MB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3212, allocations: 119.3 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3213, allocations: 0 / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.3213, allocations: 16.19 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.3215, allocations: 11.97 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3229, allocations: 1.376 MB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3232, allocations: 0.6846 MB / 0.7912 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.3233, allocations: 4 kB / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.3233, allocations: 15.44 kB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3233, allocations: 0 / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.345, allocations: 1.976 MB / 0.7932 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.829, allocations: 10.81 kB / 0.7932 GB, free: 3.039 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)