Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.462/1.462, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.0008995/0.0008997, allocations: 177.3 kB / 371.1 MB, free: 10.81 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.197/1.197, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007271/0.0007271, allocations: 96.39 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003129, allocations: 13.31 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1575, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0006281/0.1582, allocations: 434.4 kB / 0.9792 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1592, allocations: 1.25 MB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1593, allocations: 8 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.1593, allocations: 0 / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.1593, allocations: 11.86 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.1599, allocations: 276.5 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1601, allocations: 203.6 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.243e-05/0.1601, allocations: 16.17 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.1602, allocations: 87.86 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.1603, allocations: 63.78 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.1603, allocations: 12 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.1604, allocations: 27.98 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.1604, allocations: 11.98 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.1605, allocations: 45.64 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.1606, allocations: 155.9 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1606, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1606, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.1606, allocations: 0 / 0.9813 GB, free: 25.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003047/0.1609, allocations: 460.4 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.161, allocations: 8.031 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.022e-05/0.161, allocations: 30.75 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.161, allocations: 20.83 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.516e-05/0.1611, allocations: 176.2 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1611, allocations: 8.375 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.1612, allocations: 20.38 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.817e-05/0.1613, allocations: 65.95 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1613, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1613, allocations: 4 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1613, allocations: 3.938 kB / 0.982 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.865e-05/0.1613, allocations: 16 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1617, allocations: 420.5 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.335e-05/0.1617, allocations: 34.56 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.1618, allocations: 16.86 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.273e-06/0.1618, allocations: 0 / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.1619, allocations: 103.3 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1619, allocations: 0 / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002041/0.1621, allocations: 141.5 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.1622, allocations: 55.41 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.1622, allocations: 129.8 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1623, allocations: 29.7 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.1623, allocations: 108.1 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.1623, allocations: 19.75 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.1624, allocations: 4 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.1624, allocations: 326.8 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1625, allocations: 83.95 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1627, allocations: 140.2 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1629, allocations: 237.8 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1629, allocations: 4 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004158/0.1633, allocations: 370.4 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.1634, allocations: 105.1 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1634, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1634, allocations: 4.188 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-05/0.1634, allocations: 11.94 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1634, allocations: 4.062 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.1639, allocations: 109.6 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.1639, allocations: 19.98 kB / 0.9844 GB, free: 21.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.012e-05/0.164, allocations: 143.4 kB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.164, allocations: 7.906 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.1641, allocations: 20.3 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1641, allocations: 3.984 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1641, allocations: 3.938 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1641, allocations: 0 / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.82e-05/0.1642, allocations: 189.6 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1642, allocations: 4 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.1642, allocations: 3.984 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1642, allocations: 0 / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1642, allocations: 15.94 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1642, allocations: 0 / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1642, allocations: 0 / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1643, allocations: 140.9 kB / 0.9849 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.1644, allocations: 85.02 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1644, allocations: 0 / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.1644, allocations: 0 / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.1644, allocations: 15.98 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1645, allocations: 4 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.1645, allocations: 96.67 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1645, allocations: 0 / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002052/0.1647, allocations: 51.89 kB / 0.9852 GB, free: 21.04 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * 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.0002561/0.165, allocations: 0.6766 MB / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.1653, allocations: 366 kB / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1653, allocations: 0 / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.1653, allocations: 44.05 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.1655, allocations: 23.92 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.1665, allocations: 0.9004 MB / 0.9871 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.1666, allocations: 0.6926 MB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.1667, allocations: 8.422 kB / 0.9878 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.1667, allocations: 23.5 kB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1667, allocations: 4 kB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6105/0.7772, allocations: 3.446 MB / 0.9912 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.7774, allocations: 204.1 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.714, allocations: 2.812 kB / 0.9914 GB, free: 14.61 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)