Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 176.7 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.578 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000959/0.0009589, allocations: 93.92 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003533, allocations: 10.16 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2861, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001842/0.288, allocations: 1.038 MB / 0.9019 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005177/0.2885, allocations: 188.3 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.2886, allocations: 4 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.2888, allocations: 3.938 kB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.2888, allocations: 0 / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.289, allocations: 15.98 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.319e-05/0.2891, allocations: 35.84 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2893, allocations: 8 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.2893, allocations: 7.938 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.766e-05/0.2894, allocations: 11.92 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2894, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.2894, allocations: 4 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.2895, allocations: 11.98 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.2896, allocations: 37.64 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.896e-05/0.2897, allocations: 27.88 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2897, allocations: 4 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2897, allocations: 0 / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2897, allocations: 0 / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005085/0.2902, allocations: 339.8 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.2903, allocations: 12.03 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.2903, allocations: 38.73 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2904, allocations: 12.78 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.2905, allocations: 176.3 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2905, allocations: 4.375 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.2906, allocations: 4.375 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.2907, allocations: 42.25 kB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2907, allocations: 3.938 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2907, allocations: 8 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2907, allocations: 3.938 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/0.2908, allocations: 16 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.2912, allocations: 288.7 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.2913, allocations: 22.58 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.2913, allocations: 16.91 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.2914, allocations: 0 / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.2915, allocations: 59.33 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.2915, allocations: 0 / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001799/0.2917, allocations: 57.69 kB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.2917, allocations: 51.41 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.2918, allocations: 105.8 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.2918, allocations: 29.7 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.2919, allocations: 88.05 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.2919, allocations: 7.906 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.2919, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.292, allocations: 322.8 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.292, allocations: 4 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.2921, allocations: 17.72 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.2921, allocations: 37.64 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2921, allocations: 0 / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.19e-05/0.2922, allocations: 49.62 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2922, allocations: 8 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2923, allocations: 0 / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.2923, allocations: 0 / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.2924, allocations: 4 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.2924, allocations: 0 / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.2925, allocations: 19.95 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2925, allocations: 4 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001238/0.2926, allocations: 113.7 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.2926, allocations: 4 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.2927, allocations: 7.5 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2927, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.2927, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2927, allocations: 4 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.2929, allocations: 169.5 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2929, allocations: 4 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-06/0.2929, allocations: 4 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2929, allocations: 256 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.293, allocations: 3.938 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.293, allocations: 7.938 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.293, allocations: 0 / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.2931, allocations: 81.05 kB / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.2932, allocations: 77.11 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2932, allocations: 4.375 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.2933, allocations: 11.98 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2933, allocations: 4 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.2933, allocations: 4 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.2934, allocations: 83.27 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2934, allocations: 0 / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002312/0.2936, allocations: 8 kB / 0.9046 GB, free: 59.29 MB / 0.6042 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,booRep.y[3],booPul.pulseStart) * 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.0004958/0.2941, allocations: 0.624 MB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.2943, allocations: 19.98 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2943, allocations: 0 / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.2943, allocations: 7.938 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.2946, allocations: 17.02 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2959, allocations: 1.167 MB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.2961, allocations: 0.6809 MB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.707e-05/0.2962, allocations: 7.984 kB / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.2962, allocations: 15.44 kB / 0.9071 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2962, allocations: 0 / 0.9071 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.3116, allocations: 1.213 MB / 0.9083 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.3118, allocations: 229.4 kB / 0.9085 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.029, allocations: 4 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)