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.609/1.609, allocations: 252 MB / 267 MB, free: 10.97 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.001127/0.001127, allocations: 174.2 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007707/0.0007707, allocations: 93.91 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 10.5 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2138, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001414/0.2153, allocations: 1.03 MB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003856/0.2157, allocations: 188.4 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.2157, allocations: 0 / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.661e-05/0.2158, allocations: 0 / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.2159, allocations: 7.938 kB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.216, allocations: 15.98 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.364e-05/0.2161, allocations: 27.92 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.704e-05/0.2162, allocations: 4 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.2162, allocations: 15.92 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.2163, allocations: 7.938 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.2163, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.2163, allocations: 0 / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.2164, allocations: 15.97 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.2164, allocations: 33.69 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.954e-05/0.2165, allocations: 23.95 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2165, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2165, allocations: 0 / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2165, allocations: 3.938 kB / 0.9016 GB, free: 62.42 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.0004285/0.2169, allocations: 343.6 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.217, allocations: 11.97 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.217, allocations: 38.55 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.2171, allocations: 3.906 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2172, allocations: 179 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.2172, allocations: 3.984 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.2172, allocations: 4 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.223e-05/0.2173, allocations: 45.69 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2173, allocations: 0 / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2173, allocations: 4 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2174, allocations: 3.938 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.2174, allocations: 15.94 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.2178, allocations: 288.8 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.2178, allocations: 22.58 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.124e-05/0.2179, allocations: 12.91 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.2179, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.218, allocations: 59.34 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.218, allocations: 0 / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001502/0.2182, allocations: 57.64 kB / 0.9027 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.2182, allocations: 55.41 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.2183, allocations: 105.8 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2183, allocations: 25.7 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.2183, allocations: 88.05 kB / 0.903 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.2183, allocations: 15.92 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.2184, allocations: 0 / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.2184, allocations: 318.8 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.2184, allocations: 4 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.2185, allocations: 17.72 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.2185, allocations: 11.98 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2185, allocations: 0 / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.553e-05/0.2186, allocations: 53.55 kB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2186, allocations: 12.02 kB / 0.9034 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2186, allocations: 0 / 0.9034 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2186, allocations: 4 kB / 0.9034 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.011e-05/0.2187, allocations: 3.938 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2187, allocations: 3.953 kB / 0.9034 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.2187, allocations: 8 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.2187, allocations: 0 / 0.9034 GB, free: 60.4 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 6.319e-05/0.2188, allocations: 121.8 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.2188, allocations: 8.328 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.2189, allocations: 7.5 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2189, allocations: 0 / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2189, allocations: 3.984 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2189, allocations: 3.953 kB / 0.9035 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.237e-05/0.219, allocations: 161.7 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.219, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.219, allocations: 256 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.219, allocations: 4 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.219, allocations: 7.938 kB / 0.9037 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.219, allocations: 4 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.219, allocations: 3.938 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.774e-05/0.2191, allocations: 80.98 kB / 0.9038 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.2191, allocations: 81.09 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2192, allocations: 0 / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.2192, allocations: 4 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2192, allocations: 7.984 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2193, allocations: 4 kB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.2193, allocations: 83.28 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2193, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001667/0.2195, allocations: 8 kB / 0.904 GB, free: 59.72 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.0002532/0.2197, allocations: 0.6124 MB / 0.9046 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.2198, allocations: 23.98 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2198, allocations: 0 / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.2199, allocations: 15.94 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.22, allocations: 5.547 kB / 0.9046 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.2206, allocations: 413.2 kB / 0.905 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.2207, allocations: 0.6809 MB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.2207, allocations: 7.984 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.2208, allocations: 15.44 kB / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2208, allocations: 0 / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2328, allocations: 1.215 MB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.233, allocations: 208.1 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.85, allocations: 0 / 0.9071 GB, free: 56.57 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)