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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 252 MB / 267.6 MB, free: 10.89 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.001008/0.001008, allocations: 178.8 kB / 327.3 MB, free: 2.191 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.654/1.654, allocations: 205.4 MB / 0.5783 GB, free: 20.17 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.0007288/0.0007289, allocations: 105.9 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 9.156 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001408/0.2116, allocations: 1.084 MB / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003758/0.212, allocations: 209.6 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.2121, allocations: 0 / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.2121, allocations: 0 / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.2122, allocations: 15.91 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.2123, allocations: 11.94 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.58e-05/0.2124, allocations: 51.84 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.2125, allocations: 4 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.2125, allocations: 23.86 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.113e-05/0.2126, allocations: 19.92 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.2126, allocations: 4 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.2126, allocations: 0 / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.2127, allocations: 11.97 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.2127, allocations: 37.64 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.238e-05/0.2128, allocations: 35.86 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2128, allocations: 0 / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2128, allocations: 0 / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2128, allocations: 0 / 0.9023 GB, free: 62.36 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.0004666/0.2133, allocations: 375.4 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2133, allocations: 11.97 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.2134, allocations: 4 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.2135, allocations: 178.9 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2135, allocations: 4 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2135, allocations: 4 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2136, allocations: 53.69 kB / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2136, allocations: 0 / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.2136, allocations: 0 / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2136, allocations: 0 / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.906e-05/0.2137, allocations: 23.92 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.2141, allocations: 284.8 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.2142, allocations: 46.56 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.2142, allocations: 16.98 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.2142, allocations: 0 / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.2144, allocations: 71.33 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2144, allocations: 0 / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001934/0.2146, allocations: 89.58 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2146, allocations: 51.41 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/0.2147, allocations: 125.9 kB / 0.9036 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.2147, allocations: 25.7 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.2147, allocations: 88.14 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.2148, allocations: 11.8 kB / 0.9037 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.2148, allocations: 4 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.2148, allocations: 314.8 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.2149, allocations: 23.92 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.2149, allocations: 26.58 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.2149, allocations: 16 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2149, allocations: 0 / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.157e-05/0.215, allocations: 77.53 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2151, allocations: 8 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2151, allocations: 7.922 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2151, allocations: 0 / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.2151, allocations: 4 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2152, allocations: 8.703 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.2152, allocations: 27.88 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2153, allocations: 4 kB / 0.9042 GB, free: 60.18 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.696e-05/0.2153, allocations: 118 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.2153, allocations: 7.906 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.2154, allocations: 12.31 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2154, allocations: 0 / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2154, allocations: 7.984 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2154, allocations: 4 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.533e-05/0.2155, allocations: 173.6 kB / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2155, allocations: 0 / 0.9045 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.2155, allocations: 11.98 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2155, allocations: 0 / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2155, allocations: 4 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2155, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2155, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.831e-05/0.2157, allocations: 112.9 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.2157, allocations: 77.11 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.2157, allocations: 3.984 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.2158, allocations: 15.98 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.2158, allocations: 11.98 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.2158, allocations: 0 / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.2159, allocations: 91.27 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2159, allocations: 0 / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002111/0.2161, allocations: 16 kB / 0.9048 GB, free: 59.43 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 9.417e-05/0.2162, allocations: 101.5 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.2163, allocations: 47.91 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2163, allocations: 0 / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.2164, allocations: 20 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.2166, allocations: 24.69 kB / 0.905 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.2169, allocations: 200.1 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.332e-05/0.217, allocations: 0.6878 MB / 0.9059 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.217, allocations: 11.44 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.217, allocations: 0 / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.001805/0.2188, allocations: 0.9034 MB / 0.9068 GB, free: 57.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)