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.001719/0.001719, allocations: 108 kB / 15.61 MB, free: 152 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.001995/0.001995, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.658/1.658, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.736/1.736, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001405/0.001405, allocations: 72.48 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2818, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.00203/0.2838, allocations: 0.6226 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2853, allocations: 1.113 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.2854, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.666e-05/0.2855, allocations: 3.938 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.198e-05/0.2855, allocations: 3.938 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.286, allocations: 126.5 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.2861, allocations: 95.88 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.2862, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.2863, allocations: 39.91 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.2864, allocations: 27.95 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.2864, allocations: 8 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.2865, allocations: 19.98 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.641e-05/0.2866, allocations: 11.94 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.2867, allocations: 31.91 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.2868, allocations: 87.78 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2868, allocations: 0 / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2868, allocations: 3.938 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2869, allocations: 0 / 0.7856 GB, free: 11.16 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.0004595/0.2873, allocations: 389.3 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2874, allocations: 8.031 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.2874, allocations: 34.73 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.2874, allocations: 8.844 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.2876, allocations: 184.4 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2876, allocations: 4.375 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2877, allocations: 12.34 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2878, allocations: 42.25 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2878, allocations: 3.938 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2878, allocations: 3.938 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2878, allocations: 4 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.2879, allocations: 15.94 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.2882, allocations: 304.8 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.2883, allocations: 22.56 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.2883, allocations: 9.922 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-06/0.2883, allocations: 4 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.2885, allocations: 67.28 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.2885, allocations: 0 / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001843/0.2887, allocations: 57.69 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2887, allocations: 55.41 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.2888, allocations: 109.8 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2888, allocations: 25.7 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.2889, allocations: 99.98 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.2889, allocations: 3.906 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.289, allocations: 33.69 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2891, allocations: 318.8 kB / 0.7874 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.2892, allocations: 27.98 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.2892, allocations: 46.56 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.2894, allocations: 84.27 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2894, allocations: 3.938 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002244/0.2896, allocations: 135.3 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.2896, allocations: 44.5 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.2897, allocations: 0 / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.2897, allocations: 4 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.675e-05/0.2897, allocations: 0 / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2897, allocations: 0 / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2899, allocations: 28.06 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.29, allocations: 11.98 kB / 0.7877 GB, free: 8.727 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 0.000111/0.2901, allocations: 117.8 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.2901, allocations: 3.906 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.2901, allocations: 7.906 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2901, allocations: 0 / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2902, allocations: 8.234 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2902, allocations: 4 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2903, allocations: 169.6 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2903, allocations: 3.938 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.2903, allocations: 240 / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2903, allocations: 0 / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.2903, allocations: 7.984 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2903, allocations: 0 / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2903, allocations: 3.938 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.2905, allocations: 81.05 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2905, allocations: 81.11 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2905, allocations: 4 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.2905, allocations: 0 / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.2906, allocations: 3.984 kB / 0.7882 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.2906, allocations: 4 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.2906, allocations: 83.28 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2906, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002048/0.2908, allocations: 12 kB / 0.7883 GB, free: 8.039 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.0003828/0.2912, allocations: 0.6318 MB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2914, allocations: 119.4 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2915, allocations: 0 / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.2915, allocations: 19.92 kB / 0.7891 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.2917, allocations: 4.188 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.293, allocations: 1.369 MB / 0.7904 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.2933, allocations: 0.6846 MB / 0.7911 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.2933, allocations: 3.938 kB / 0.7911 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.2933, allocations: 19.42 kB / 0.7911 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.2933, allocations: 0 / 0.7911 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.3118, allocations: 1.965 MB / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.038, allocations: 12.8 kB / 0.793 GB, free: 3.145 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)