Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.471/1.471, allocations: 287.4 MB / 302.6 MB, free: 8.309 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.0009196/0.0009197, allocations: 187.3 kB / 371.1 MB, free: 10.83 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.177/1.177, 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.0006829/0.000683, allocations: 78.33 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.000329, allocations: 13.33 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, 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.And): time 0.0006478/0.1581, allocations: 398.5 kB / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1594, allocations: 1.16 MB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.1595, allocations: 0 / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.1595, allocations: 3.938 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.1596, allocations: 11.92 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.1601, allocations: 199.8 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1603, allocations: 127.8 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.1604, allocations: 15.92 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1605, allocations: 55.89 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.748e-05/0.1605, allocations: 47.86 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.1606, allocations: 16 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.1607, allocations: 15.98 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1607, allocations: 8 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.1607, allocations: 41.64 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1608, allocations: 104 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1609, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1609, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1609, 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.0003245/0.1612, allocations: 406.8 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1612, allocations: 8.031 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.1613, allocations: 34.75 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1613, allocations: 20.83 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.1614, allocations: 164.4 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1614, allocations: 4.375 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.1615, allocations: 12.31 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.1616, allocations: 54.23 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1616, allocations: 7.875 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1616, allocations: 0 / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1616, allocations: 0 / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.1616, allocations: 12 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.162, allocations: 356.6 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.996e-05/0.1621, allocations: 42.55 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.1621, allocations: 12.86 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-06/0.1621, allocations: 3.938 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.1622, allocations: 99.38 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1622, allocations: 0 / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001864/0.1624, allocations: 101.6 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1625, allocations: 55.34 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.1625, allocations: 117.8 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1626, allocations: 29.7 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.1626, allocations: 96.03 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.1626, allocations: 11.89 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.1626, allocations: 8 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.1627, allocations: 322.8 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1628, allocations: 59.95 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1629, allocations: 90.14 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.163, allocations: 160.1 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.163, allocations: 0 / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003047/0.1634, allocations: 264.7 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.1634, allocations: 71.39 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1634, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1634, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.891e-05/0.1635, allocations: 8.062 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1635, allocations: 4 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.1638, allocations: 87.77 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.1639, allocations: 8 kB / 0.9835 GB, free: 22.9 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,and1.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 7.017e-05/0.1639, allocations: 131.1 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.164, allocations: 4 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.164, allocations: 12.38 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.164, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.164, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.164, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.768e-05/0.1641, allocations: 185.5 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1641, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.1641, allocations: 3.938 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1641, allocations: 0 / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1641, allocations: 4 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1641, allocations: 0 / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1641, allocations: 0 / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.922e-05/0.1642, allocations: 117 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.1643, allocations: 85.02 kB / 0.984 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1643, allocations: 0 / 0.984 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.1643, allocations: 11.98 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.1643, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1644, allocations: 4 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.1644, allocations: 91.27 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1644, allocations: 0 / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001929/0.1646, allocations: 32.28 kB / 0.9841 GB, free: 22.14 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,and1.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.0002935/0.1649, allocations: 0.6591 MB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1652, allocations: 242.7 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1652, allocations: 0 / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.1652, allocations: 31.92 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1654, allocations: 20.23 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008123/0.1662, allocations: 0.6951 MB / 0.9857 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.56e-05/0.1663, allocations: 0.6887 MB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.1664, 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.539e-05/0.1664, allocations: 15.44 kB / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1664, allocations: 0 / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.1998, allocations: 2.59 MB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001262/0.2, allocations: 183 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.801, allocations: 1.547 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)