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.436/1.436, allocations: 252 MB / 267 MB, free: 10.98 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.001015/0.001015, allocations: 178.5 kB / 326.6 MB, free: 2.25 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.006/2.006, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0006985/0.0006985, allocations: 88.02 kB / 0.6823 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005029, allocations: 14.16 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 106.3 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001333/0.231, allocations: 1.096 MB / 0.9014 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.2314, allocations: 192.4 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.2315, allocations: 4 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.2315, allocations: 11.92 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.791e-05/0.2316, allocations: 7.938 kB / 0.9016 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.2317, allocations: 15.97 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.2318, allocations: 47.8 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.2319, allocations: 11.98 kB / 0.9017 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.2319, allocations: 15.94 kB / 0.9017 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.232, allocations: 23.91 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.232, allocations: 0 / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.2321, allocations: 8 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.2321, allocations: 0 / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.2321, allocations: 37.64 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.59e-05/0.2322, allocations: 35.91 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2322, allocations: 3.938 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2322, allocations: 3.938 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2322, allocations: 0 / 0.9018 GB, free: 62.32 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.000481/0.2327, allocations: 371.5 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2328, allocations: 12.02 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.824e-05/0.2328, allocations: 34.56 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.2328, allocations: 0 / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.118e-05/0.2329, allocations: 178.9 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2329, allocations: 4 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2329, allocations: 0 / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.2331, allocations: 57.61 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.2331, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2331, allocations: 4 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2331, allocations: 4 kB / 0.9024 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.278e-05/0.2332, allocations: 15.98 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.2335, allocations: 288.8 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.064e-05/0.2336, allocations: 46.5 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.2336, allocations: 20.97 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.2336, allocations: 4 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.2338, allocations: 67.45 kB / 0.9028 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2338, allocations: 4 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001811/0.234, allocations: 89.52 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.234, allocations: 59.36 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.2341, allocations: 113.8 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2341, allocations: 29.7 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.2341, allocations: 88.05 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.2342, allocations: 15.89 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.2342, allocations: 0 / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.2342, allocations: 314.8 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.2343, allocations: 16 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.2343, allocations: 34.56 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.2343, allocations: 16 kB / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2343, allocations: 0 / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.957e-05/0.2344, allocations: 77.53 kB / 0.9037 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2345, allocations: 4 kB / 0.9037 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2345, allocations: 7.938 kB / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2345, allocations: 0 / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.2345, allocations: 12.11 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2345, allocations: 0.7031 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.2346, allocations: 35.88 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2347, allocations: 4 kB / 0.9037 GB, free: 60.1 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 5.851e-05/0.2347, allocations: 113.8 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.2347, allocations: 3.906 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.2348, allocations: 12.38 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2348, allocations: 0 / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2348, allocations: 0 / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2348, allocations: 3.984 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.2349, allocations: 177.6 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2349, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/0.2349, allocations: 3.938 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2349, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2349, allocations: 11.98 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2349, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2349, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.2351, allocations: 105 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.2351, allocations: 85.11 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2351, allocations: 3.984 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.2352, allocations: 11.98 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2352, allocations: 11.98 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2353, allocations: 4 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.924e-05/0.2353, allocations: 87.28 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2353, allocations: 0 / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001799/0.2355, allocations: 8 kB / 0.9043 GB, free: 59.37 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.000272/0.2358, allocations: 0.6435 MB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.2359, allocations: 51.91 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2359, allocations: 0 / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.2359, allocations: 19.98 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.2362, allocations: 24.05 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.2368, allocations: 0.4976 MB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.2369, allocations: 0.6848 MB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.237, allocations: 4 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.237, allocations: 19.42 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.237, allocations: 0 / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.2487, allocations: 1.617 MB / 0.9078 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.2489, allocations: 191.7 kB / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.907, allocations: 0 / 0.908 GB, free: 55.61 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)