Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.467/1.467, allocations: 252 MB / 267 MB, free: 10.99 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.001093/0.001093, allocations: 188.3 kB / 326.6 MB, free: 2.254 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.923/1.923, allocations: 205.4 MB / 0.5777 GB, free: 20.61 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.0007057/0.0007057, allocations: 89.7 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003222, allocations: 13.94 kB / 0.7965 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2122, allocations: 106.3 MB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00132/0.2136, allocations: 1.135 MB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000371/0.214, allocations: 224.3 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.214, allocations: 0 / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.2141, allocations: 0 / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.668e-05/0.2142, allocations: 23.84 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.2143, allocations: 15.98 kB / 0.9017 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.2144, allocations: 75.66 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.2145, allocations: 16.17 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.2145, allocations: 31.86 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.2146, allocations: 27.89 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2146, allocations: 4 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.2146, allocations: 0 / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.2147, allocations: 15.92 kB / 0.9018 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.882e-05/0.2147, allocations: 41.64 kB / 0.9019 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.235e-05/0.2148, allocations: 43.89 kB / 0.9019 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2148, allocations: 4 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2148, allocations: 0 / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.2148, allocations: 0 / 0.9019 GB, free: 62.65 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005501/0.2153, allocations: 399.3 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2154, allocations: 8.031 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.2154, allocations: 38.55 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.2155, allocations: 8 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2156, allocations: 186.8 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2156, allocations: 4 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2156, allocations: 4 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2158, allocations: 69.55 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2158, allocations: 0 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2158, allocations: 0 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2158, allocations: 0 / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.312e-05/0.2159, allocations: 27.98 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.2163, allocations: 316.7 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.2164, allocations: 46.56 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.2164, allocations: 24.86 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.2165, allocations: 3.984 kB / 0.903 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.2167, allocations: 91.39 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.2167, allocations: 0 / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002399/0.2169, allocations: 109.5 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.217, allocations: 63.36 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.217, allocations: 125.8 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2171, allocations: 29.7 kB / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.2171, allocations: 88.14 kB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.2171, allocations: 27.8 kB / 0.9035 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.2171, allocations: 8 kB / 0.9035 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.2172, allocations: 322.8 kB / 0.9038 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.2173, allocations: 15.98 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.2173, allocations: 47.42 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.72e-05/0.2174, allocations: 24.31 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2174, allocations: 3.938 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001184/0.2175, allocations: 101.5 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2175, allocations: 4 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2175, allocations: 4 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2175, allocations: 3.938 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.2176, allocations: 11.98 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2176, allocations: 3.953 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.2177, allocations: 24.08 kB / 0.9041 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.2178, allocations: 8 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.527e-05/0.2178, allocations: 125.8 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.2179, allocations: 7.906 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.2179, allocations: 12.38 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2179, allocations: 0 / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2179, allocations: 0 / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2179, allocations: 3.953 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.218, allocations: 193.6 kB / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2181, allocations: 0 / 0.9044 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.2181, allocations: 4 kB / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2181, allocations: 0 / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2181, allocations: 3.984 kB / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2181, allocations: 0 / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2181, allocations: 0 / 0.9044 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.2182, allocations: 120.9 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.2183, allocations: 92.95 kB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2183, allocations: 7.938 kB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2184, allocations: 23.97 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.2185, allocations: 11.98 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2185, allocations: 4 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.2185, allocations: 99.89 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2185, allocations: 0 / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001954/0.2187, allocations: 23.94 kB / 0.9048 GB, free: 59.39 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002942/0.219, allocations: 0.6651 MB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.2191, allocations: 59.92 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2192, allocations: 0 / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.2192, allocations: 36.17 kB / 0.9055 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2195, allocations: 20.31 kB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.2201, allocations: 0.5995 MB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2203, allocations: 0.6926 MB / 0.9068 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.2203, allocations: 8.562 kB / 0.9068 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.2204, allocations: 23.42 kB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2204, allocations: 0 / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.2319, allocations: 2.058 MB / 0.9089 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.232, allocations: 191 kB / 0.909 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.826, allocations: 3.938 kB / 0.909 GB, free: 55.03 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)