Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.449/1.449, allocations: 287.4 MB / 302.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.9 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008905/0.0008905, allocations: 88.23 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 21.48 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0006181/0.1634, allocations: 398.5 kB / 0.9791 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.1644, allocations: 1.157 MB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.1645, allocations: 3.938 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.1645, allocations: 3.938 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.11e-05/0.1646, allocations: 11.92 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.1651, allocations: 201.7 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.1652, allocations: 127.8 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.942e-05/0.1652, allocations: 11.98 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.1653, allocations: 55.91 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.1654, allocations: 43.86 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.1654, allocations: 16 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.1655, allocations: 23.92 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.1655, allocations: 7.984 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.1656, allocations: 41.7 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.775e-05/0.1657, allocations: 104 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1657, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1657, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1657, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002882/0.166, allocations: 410.8 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.166, allocations: 8.031 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.166, allocations: 34.75 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1661, allocations: 12.84 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.155e-05/0.1662, allocations: 168.3 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1662, allocations: 8.375 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1662, allocations: 16.36 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.1663, allocations: 46.25 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1663, allocations: 3.938 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1663, allocations: 0 / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1663, allocations: 0 / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.1664, allocations: 19.92 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1667, allocations: 364.6 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.681e-05/0.1667, allocations: 30.58 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.1668, allocations: 20.92 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.1668, allocations: 0 / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.925e-05/0.1669, allocations: 91.3 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1669, allocations: 0 / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001728/0.1671, allocations: 101.5 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.1671, allocations: 51.41 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.437e-05/0.1672, allocations: 121.8 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1672, allocations: 33.7 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.1672, allocations: 99.97 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.1672, allocations: 3.906 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.1673, allocations: 8 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.641e-05/0.1673, allocations: 326.8 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1674, allocations: 55.97 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1675, allocations: 98.62 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1677, allocations: 160 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1677, allocations: 0 / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003057/0.168, allocations: 260.8 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.168, allocations: 71.39 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.168, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.168, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.658e-05/0.1681, allocations: 11.92 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1681, allocations: 4.125 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.1684, allocations: 79.78 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1684, allocations: 11.98 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.332e-05/0.1685, allocations: 135.1 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.1685, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.1686, allocations: 8.375 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1686, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1686, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1686, allocations: 3.984 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.223e-05/0.1686, allocations: 185.5 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1687, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-06/0.1687, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1687, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1687, allocations: 7.984 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1687, allocations: 3.938 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1687, allocations: 0 / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.537e-05/0.1688, allocations: 109.1 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.1688, allocations: 89 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1688, allocations: 7.938 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.1689, allocations: 4 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.1689, allocations: 3.984 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1689, allocations: 8 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.1689, allocations: 95.2 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 0 / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001869/0.1691, allocations: 28 kB / 0.9841 GB, free: 22.13 MB / 0.6198 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0002652/0.1694, allocations: 0.6513 MB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1696, allocations: 250.7 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1697, allocations: 0 / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.1697, allocations: 27.98 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1699, allocations: 16.23 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.1707, allocations: 0.6989 MB / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.151e-05/0.1708, allocations: 0.6809 MB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.1708, allocations: 4 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.1708, allocations: 23.42 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1708, allocations: 0 / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4275/0.5984, allocations: 2.588 MB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.5986, allocations: 179 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.171, allocations: 0 / 0.9891 GB, free: 16.97 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)