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.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001161/0.001161, allocations: 177.7 kB / 326.5 MB, free: 2.242 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.209/2.209, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009862/0.0009859, allocations: 102.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 12.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2801, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001636/0.2817, allocations: 1.021 MB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.2821, allocations: 189.7 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.2822, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.437e-05/0.2823, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.2824, allocations: 8 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.2825, allocations: 19.91 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.2826, allocations: 19.91 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.555e-05/0.2827, allocations: 4 kB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.124e-05/0.2827, allocations: 8 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.2828, allocations: 11.92 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2828, allocations: 4 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.2828, allocations: 4 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.2829, allocations: 7.984 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2829, allocations: 33.64 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.68e-05/0.283, allocations: 27.94 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.283, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.283, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.283, allocations: 0 / 0.9015 GB, free: 62.46 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.0004661/0.2835, allocations: 339.6 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2836, allocations: 12.03 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.2836, allocations: 34.56 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.2836, allocations: 3.906 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.2838, allocations: 171 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2838, allocations: 8 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.2838, allocations: 3.938 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.284, allocations: 49.69 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.284, allocations: 3.938 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.284, allocations: 8 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.284, allocations: 0 / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.2841, allocations: 15.98 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.2845, allocations: 284.8 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.2846, allocations: 34.52 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.2846, allocations: 3.938 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2847, allocations: 51.47 kB / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.2847, allocations: 0 / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001679/0.2849, allocations: 49.69 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.285, allocations: 63.28 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.285, allocations: 105.9 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.2851, allocations: 29.7 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.2851, allocations: 92.03 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.2851, allocations: 4 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2851, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.2852, allocations: 314.8 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.2852, allocations: 8 kB / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.2852, allocations: 21.7 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.2853, allocations: 12.28 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2853, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.78e-05/0.2854, allocations: 57.52 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2854, allocations: 8 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2854, allocations: 0 / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2854, allocations: 0 / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.2855, allocations: 4 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2855, allocations: 3.953 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.2855, allocations: 11.98 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2855, allocations: 8.031 kB / 0.9032 GB, free: 60.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.2856, allocations: 109.8 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.2856, allocations: 4 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2857, allocations: 7.5 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2857, allocations: 0 / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2857, allocations: 0 / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.2857, allocations: 11.94 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2858, allocations: 153.7 kB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2858, allocations: 7.938 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.2859, allocations: 7.938 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.2859, allocations: 3.984 kB / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2859, allocations: 0 / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2859, allocations: 3.938 kB / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2859, allocations: 0 / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.506e-05/0.286, allocations: 80.98 kB / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.286, allocations: 77.11 kB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.286, allocations: 256 / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.2861, allocations: 19.98 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.2861, allocations: 4 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.2861, allocations: 4 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.2862, allocations: 83.27 kB / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2862, allocations: 0 / 0.9038 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001844/0.2864, allocations: 4 kB / 0.9038 GB, free: 59.77 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 (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.0002997/0.2867, allocations: 0.6163 MB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.548e-05/0.2868, allocations: 19.98 kB / 0.9044 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2868, allocations: 4 kB / 0.9044 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.2868, allocations: 7.938 kB / 0.9044 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.287, allocations: 11.98 kB / 0.9044 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.2876, allocations: 0.5552 MB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.2878, allocations: 0.6809 MB / 0.9056 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.2878, allocations: 4.422 kB / 0.9056 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.2878, allocations: 19.42 kB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.91e-07/0.2878, allocations: 0 / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.2997, allocations: 1.205 MB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.2999, allocations: 200.8 kB / 0.907 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/1.838, allocations: 3.938 kB / 0.907 GB, free: 56.48 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)