Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.839/1.839, allocations: 288.4 MB / 303.3 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 180.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008538/0.0008539, allocations: 100.9 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005348, allocations: 11.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0006275/0.28, allocations: 334.2 kB / 0.98 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2811, allocations: 1.08 MB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.2811, allocations: 4 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.029e-05/0.2812, allocations: 7.922 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.728e-05/0.2812, allocations: 7.922 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.2816, allocations: 109.8 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.2817, allocations: 67.89 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.047e-05/0.2818, allocations: 3.984 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.2818, allocations: 31.92 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.2819, allocations: 23.95 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2819, allocations: 4 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-05/0.282, allocations: 23.92 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.58e-05/0.282, allocations: 7.984 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.282, allocations: 29.7 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2822, allocations: 67.86 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2822, allocations: 0 / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2822, allocations: 0 / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2822, allocations: 0 / 0.9814 GB, free: 25.76 MB / 0.6198 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.0002835/0.2825, allocations: 369.2 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2825, allocations: 12.02 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.2826, allocations: 38.5 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.2826, allocations: 4 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2827, allocations: 190.8 kB / 0.982 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2827, allocations: 8 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2828, allocations: 4 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.457e-05/0.2829, allocations: 45.69 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2829, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.2829, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2829, allocations: 0 / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.2829, allocations: 15.98 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.2832, allocations: 308.7 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.213e-05/0.2832, allocations: 26.58 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.168e-05/0.2832, allocations: 8.797 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.2833, allocations: 0 / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.085e-05/0.2833, allocations: 67.39 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2833, allocations: 0 / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001408/0.2835, allocations: 65.58 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.2835, allocations: 59.36 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.822e-05/0.2836, allocations: 105.8 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2836, allocations: 29.7 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.2836, allocations: 96.03 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-06/0.2836, allocations: 0 / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.2837, allocations: 4 kB / 0.9828 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.2837, allocations: 314.8 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.2838, allocations: 27.98 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.2838, allocations: 58.48 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.958e-05/0.2839, allocations: 53.7 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2839, allocations: 0 / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000183/0.2841, allocations: 139.2 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.2841, allocations: 41.69 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2841, allocations: 0 / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2842, allocations: 4 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.287e-05/0.2842, allocations: 4.094 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2842, allocations: 0 / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2844, allocations: 39.92 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.2844, allocations: 7.984 kB / 0.9835 GB, free: 23.39 MB / 0.6198 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.2845, allocations: 117.8 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.2845, allocations: 4 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.2845, allocations: 3.906 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2845, allocations: 0 / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2846, allocations: 3.984 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2846, allocations: 0 / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.055e-05/0.2846, allocations: 177.5 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2846, allocations: 0 / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-06/0.2847, allocations: 4 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2847, allocations: 0 / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2847, allocations: 3.984 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2847, allocations: 4 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2847, allocations: 3.938 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.281e-05/0.2848, allocations: 80.98 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.2848, allocations: 81.11 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.2848, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.2848, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.2848, allocations: 3.984 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2849, allocations: 8.312 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.2849, allocations: 87.28 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2849, allocations: 0 / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001861/0.2851, allocations: 16 kB / 0.984 GB, free: 22.71 MB / 0.6198 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 (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.0002444/0.2853, allocations: 0.6201 MB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.2855, allocations: 127.3 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2855, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.2855, allocations: 15.98 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.2857, allocations: 4 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.2863, allocations: 0.5027 MB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.999e-05/0.2864, allocations: 0.681 MB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.639e-05/0.2865, allocations: 11.97 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.2865, allocations: 11.44 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2865, allocations: 0 / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.2991, allocations: 1.753 MB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.2993, allocations: 217.9 kB / 0.9879 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.806, allocations: 4.062 kB / 0.9879 GB, free: 18.8 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)