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.And3.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.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.314/1.314, allocations: 251.5 MB / 266.7 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.0009047/0.0009049, allocations: 175.2 kB / 325.9 MB, free: 2.672 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.511/1.511, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007112/0.0007112, allocations: 82.06 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 12.19 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001132/0.1564, allocations: 1.166 MB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.1567, allocations: 225.1 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1567, allocations: 3.938 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.1568, allocations: 0 / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.16e-05/0.1569, allocations: 19.86 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.157, allocations: 19.97 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.1571, allocations: 87.64 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.1572, allocations: 20.41 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.1572, allocations: 23.92 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.239e-05/0.1573, allocations: 27.84 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1573, allocations: 4 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.1573, allocations: 4 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.1573, allocations: 15.91 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.1574, allocations: 31.86 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.996e-05/0.1574, allocations: 59.77 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1574, allocations: 0 / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1574, allocations: 0 / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.1575, allocations: 4 kB / 0.8979 GB, free: 66.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004348/0.1579, allocations: 399.2 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.1579, allocations: 11.97 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.743e-05/0.158, allocations: 42.75 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.158, allocations: 4.938 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.543e-05/0.1581, allocations: 184.1 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1581, allocations: 12.31 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1581, allocations: 4.375 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.549e-05/0.1582, allocations: 65.92 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.1582, allocations: 0 / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1582, allocations: 4 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1582, allocations: 0 / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.1583, allocations: 27.98 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.1586, allocations: 312.7 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.011e-05/0.1587, allocations: 50.59 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.1588, allocations: 24.84 kB / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.1588, allocations: 0 / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.1589, allocations: 87.38 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1589, allocations: 0 / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0001824/0.1591, allocations: 113.5 kB / 0.8992 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.1591, allocations: 55.34 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.1592, allocations: 134.1 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.1592, allocations: 25.7 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.1592, allocations: 100.3 kB / 0.8995 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1593, allocations: 19.81 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.1593, allocations: 17.72 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.492e-05/0.1593, allocations: 322.8 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.1594, allocations: 20.36 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.1594, allocations: 51.42 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.1595, allocations: 67.31 kB / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1595, allocations: 0 / 0.8999 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001086/0.1596, allocations: 105.5 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1596, allocations: 5.094 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1596, allocations: 4 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.1596, allocations: 0 / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.1597, allocations: 8 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1597, allocations: 0 / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1598, allocations: 35.91 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1598, allocations: 8 kB / 0.9001 GB, free: 63.79 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,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,and1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.1599, allocations: 125.7 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1599, allocations: 7.906 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.1599, allocations: 16.36 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.16, allocations: 4 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.16, allocations: 4 kB / 0.9003 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.16, allocations: 3.984 kB / 0.9003 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.1601, allocations: 193.6 kB / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1601, allocations: 0 / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.1601, allocations: 7.984 kB / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1601, allocations: 0 / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1601, allocations: 0 / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1601, allocations: 0 / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1601, allocations: 0 / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.1602, allocations: 133.8 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.1603, allocations: 85.02 kB / 0.9007 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1603, allocations: 4 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.1604, allocations: 19.97 kB / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.1604, allocations: 19.92 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1604, allocations: 0 / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.1605, allocations: 107.3 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1605, allocations: 0 / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001833/0.1607, allocations: 23.92 kB / 0.9008 GB, free: 62.96 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,and1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002603/0.1609, allocations: 0.6552 MB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1611, allocations: 67.92 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1611, allocations: 0 / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.1611, allocations: 35.92 kB / 0.9016 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1614, allocations: 22.56 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000854/0.1622, allocations: 1.437 MB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.393e-05/0.1623, allocations: 0.6965 MB / 0.9037 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.1623, allocations: 8.547 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.1624, allocations: 23.44 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.1624, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0109/0.1733, allocations: 2.037 MB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.1735, allocations: 214.7 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.658, allocations: 0 / 0.9059 GB, free: 57.71 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)