Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.213/2.213, allocations: 248.5 MB / 261.1 MB, free: 6.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 170.8 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001172/0.001171, allocations: 93.7 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.045e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2411, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.27, allocations: 131.2 MB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/1.271, allocations: 73.39 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00394/1.275, allocations: 0.6811 MB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/1.275, allocations: 0 / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.616e-05/1.275, allocations: 4 kB / 1.02 GB, free: 3.367 MB / 0.6355 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.000588/1.275, allocations: 339 kB / 1.02 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/1.276, allocations: 8.031 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/1.276, allocations: 38.5 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/1.276, allocations: 3.312 kB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/1.276, allocations: 182.9 kB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/1.276, allocations: 7.188 kB / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/1.276, allocations: 0 / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/1.276, allocations: 48 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.276, allocations: 2.625 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/1.276, allocations: 0 / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/1.276, allocations: 0 / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/1.277, allocations: 11.12 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/1.277, allocations: 289.2 kB / 1.02 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/1.278, allocations: 26.27 kB / 1.02 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/1.278, allocations: 11.92 kB / 1.02 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/1.278, allocations: 0 / 1.02 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/1.278, allocations: 58.47 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.966e-06/1.278, allocations: 0 / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002688/1.278, allocations: 49.33 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/1.278, allocations: 51.41 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/1.278, allocations: 109.6 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/1.279, allocations: 25.7 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/1.279, allocations: 84.14 kB / 1.021 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/1.279, allocations: 7.844 kB / 1.021 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/1.279, allocations: 4 kB / 1.021 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.279, allocations: 317.6 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/1.279, allocations: 7.25 kB / 1.021 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/1.279, allocations: 29.42 kB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/1.279, allocations: 4 kB / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.279, allocations: 0 / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001894/1.279, allocations: 56.31 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.279, allocations: 10.22 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.279, allocations: 0 / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.279, allocations: 4 kB / 1.021 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/1.28, allocations: 7.891 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/1.28, allocations: 0 / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/1.28, allocations: 11.98 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/1.28, allocations: 0 / 1.021 GB, free: 1.449 MB / 0.6355 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 () * 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 0.000141/1.28, allocations: 108.9 kB / 1.021 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/1.28, allocations: 7.906 kB / 1.021 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/1.28, allocations: 7.25 kB / 1.021 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.28, allocations: 0 / 1.021 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.28, allocations: 7.953 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.28, allocations: 0 / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/1.28, allocations: 161.6 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.28, allocations: 0 / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/1.28, allocations: 0 / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.872e-06/1.28, allocations: 0 / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/1.28, allocations: 3.938 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.28, allocations: 0.875 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.281, allocations: 4 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/1.281, allocations: 80.19 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/1.281, allocations: 81.11 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/1.281, allocations: 0 / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.281, allocations: 7.312 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/1.281, allocations: 7.984 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.281, allocations: 0.5625 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001005/1.281, allocations: 86.91 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.41e-07/1.281, allocations: 0 / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004787/1.282, allocations: 11.95 kB / 1.022 GB, free: 0.8086 MB / 0.6355 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 () * 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.0008138/1.283, allocations: 0.6151 MB / 1.022 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001925/1.283, allocations: 23.31 kB / 1.022 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.283, allocations: 0 / 1.022 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/1.283, allocations: 8 kB / 1.022 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/1.283, allocations: 7.984 kB / 1.022 GB, free: 144 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/1.284, allocations: 102.2 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/1.285, allocations: 0.6887 MB / 1.023 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.297e-05/1.285, allocations: 4 kB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/1.285, allocations: 18.55 kB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/1.285, allocations: 4 kB / 1.023 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/1.31, allocations: 1.194 MB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/1.311, allocations: 167.3 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.883, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.6511 GB