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.Or.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.Or,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001294/0.001294, allocations: 176.1 kB / 326.5 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 2.591/2.591, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.001064/0.001064, allocations: 94.23 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 12.5 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00152/0.2636, allocations: 1.079 MB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003833/0.2641, allocations: 197.7 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.2641, allocations: 4 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.2641, allocations: 0 / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.592e-05/0.2642, allocations: 15.91 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2644, allocations: 19.91 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.2644, allocations: 31.95 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.2645, allocations: 8 kB / 0.9015 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.116e-05/0.2646, allocations: 19.92 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.2647, allocations: 15.92 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2647, allocations: 4 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.2647, allocations: 0 / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.2647, allocations: 15.92 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.2648, allocations: 29.7 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.2648, allocations: 31.92 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2648, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2649, allocations: 3.938 kB / 0.9016 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2649, allocations: 0 / 0.9016 GB, free: 62.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004881/0.2654, allocations: 375.5 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2654, allocations: 8.031 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.2654, allocations: 34.56 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.2655, allocations: 4 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2656, allocations: 182.8 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2656, allocations: 4 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.2656, allocations: 8 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.2657, allocations: 45.69 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.2657, allocations: 0 / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2658, allocations: 7.984 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2658, allocations: 0 / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.2658, allocations: 19.98 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.2662, allocations: 292.8 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.2663, allocations: 42.56 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2663, allocations: 4 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.2664, allocations: 63.52 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.2665, allocations: 0 / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001829/0.2666, allocations: 85.53 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2667, allocations: 63.39 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.2668, allocations: 117.7 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2668, allocations: 33.7 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.2668, allocations: 88.11 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.2668, allocations: 11.91 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.2668, allocations: 0 / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.2669, allocations: 318.8 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.2669, allocations: 16 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.267, allocations: 42.56 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.267, allocations: 15.94 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.267, allocations: 0 / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.186e-05/0.2671, allocations: 77.53 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2671, allocations: 4 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2671, allocations: 0 / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2672, allocations: 4 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/0.2672, allocations: 8.047 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2672, allocations: 4.891 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.2673, allocations: 23.88 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.2673, allocations: 7.938 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.753e-05/0.2674, allocations: 122.8 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.2674, allocations: 3.906 kB / 0.9036 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2675, allocations: 12.38 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2675, allocations: 4 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2675, allocations: 0 / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2675, allocations: 0 / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2676, allocations: 181.6 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2676, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-06/0.2677, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2677, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2677, allocations: 4 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2677, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2677, allocations: 7.984 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.2678, allocations: 105 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.2678, allocations: 81.11 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2679, allocations: 4 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.2679, allocations: 15.92 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.268, allocations: 7.984 kB / 0.9041 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.268, allocations: 11.92 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.268, allocations: 83.28 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.268, allocations: 8 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001999/0.2682, allocations: 12 kB / 0.9042 GB, free: 59.9 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002749/0.2685, allocations: 0.6456 MB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.911e-05/0.2686, allocations: 39.92 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2686, allocations: 8.125 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.2687, allocations: 27.92 kB / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.2689, allocations: 8 kB / 0.9049 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.2695, allocations: 0.7879 MB / 0.9056 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2697, allocations: 0.6848 MB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.2697, allocations: 11.98 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2698, allocations: 15.44 kB / 0.9063 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2698, allocations: 3.938 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.2812, allocations: 1.584 MB / 0.9079 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.2814, allocations: 195.5 kB / 0.9081 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/1.803, allocations: 5.828 kB / 0.9081 GB, free: 55.86 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)