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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 252 MB / 267.6 MB, free: 10.93 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.000991/0.0009909, allocations: 181.6 kB / 327.3 MB, free: 2.219 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.75/1.75, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0007487/0.0007488, allocations: 85.11 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 13.62 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 106.3 MB / 0.9008 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001489/0.2104, allocations: 1.134 MB / 0.902 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000416/0.2109, allocations: 225.5 kB / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.2109, allocations: 0 / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.211, allocations: 11.86 kB / 0.9022 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.2111, allocations: 15.86 kB / 0.9022 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.2112, allocations: 15.98 kB / 0.9022 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.2113, allocations: 79.7 kB / 0.9023 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2115, allocations: 12.19 kB / 0.9023 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.2115, allocations: 31.84 kB / 0.9023 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.2116, allocations: 23.91 kB / 0.9024 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.2116, allocations: 4 kB / 0.9024 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.2117, allocations: 4 kB / 0.9024 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2117, allocations: 11.92 kB / 0.9024 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.2117, allocations: 37.7 kB / 0.9024 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.2118, allocations: 47.89 kB / 0.9025 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2119, allocations: 0 / 0.9025 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.118e-06/0.2119, allocations: 0 / 0.9025 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2119, allocations: 7.938 kB / 0.9025 GB, free: 62.58 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.0006697/0.2126, allocations: 399.3 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.2126, allocations: 12.03 kB / 0.9029 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.2127, allocations: 7.906 kB / 0.9029 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2128, allocations: 186.8 kB / 0.903 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2128, allocations: 8 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2129, allocations: 7.938 kB / 0.9031 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.213, allocations: 61.61 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.213, allocations: 0 / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.213, allocations: 4 kB / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2131, allocations: 0 / 0.9031 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.64e-05/0.2131, allocations: 27.98 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.2136, allocations: 308.8 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.2137, allocations: 50.59 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.848e-05/0.2137, allocations: 20.86 kB / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.2138, allocations: 0 / 0.9035 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.2139, allocations: 91.27 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.2139, allocations: 0 / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000253/0.2142, allocations: 117.5 kB / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2143, allocations: 59.3 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/0.2143, allocations: 129.8 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2144, allocations: 29.7 kB / 0.9039 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2144, allocations: 92.28 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2144, allocations: 23.66 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.2144, allocations: 4 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.2145, allocations: 318.8 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-05/0.2145, allocations: 23.98 kB / 0.9044 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.032e-05/0.2146, allocations: 47.42 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.2146, allocations: 24.31 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2146, allocations: 4 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001217/0.2148, allocations: 97.47 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2148, allocations: 4 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2148, allocations: 0 / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2148, allocations: 4 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.2149, allocations: 11.92 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2149, allocations: 4 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.215, allocations: 32.03 kB / 0.9046 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2151, allocations: 4 kB / 0.9046 GB, free: 60.18 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.619e-05/0.2151, allocations: 121.8 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.2152, allocations: 7.906 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.2152, allocations: 8.375 kB / 0.9047 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2152, allocations: 4 kB / 0.9047 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2152, allocations: 0 / 0.9047 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2152, allocations: 3.984 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2153, allocations: 197.6 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2154, allocations: 0 / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.2154, allocations: 3.938 kB / 0.9049 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2154, allocations: 4 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.2154, allocations: 7.984 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2154, allocations: 0 / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2154, allocations: 0 / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.2155, allocations: 128.8 kB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.2156, allocations: 92.95 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2156, allocations: 4 kB / 0.9051 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2157, allocations: 24.16 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.2158, allocations: 7.984 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2158, allocations: 11.94 kB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.2158, allocations: 95.7 kB / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2158, allocations: 0 / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002147/0.2161, allocations: 20 kB / 0.9053 GB, free: 59.35 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.0001234/0.2162, allocations: 103.9 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.2163, allocations: 63.86 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2163, allocations: 4 kB / 0.9055 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/0.2164, allocations: 31.98 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2167, allocations: 32.39 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.217, allocations: 228.6 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.2172, allocations: 0.6965 MB / 0.9064 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.2172, allocations: 11.44 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2172, allocations: 0 / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.002265/0.2195, allocations: 1.185 MB / 0.9076 GB, free: 56.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)