Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.473/1.473, allocations: 288.4 MB / 303.6 MB, free: 8 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.0008991/0.0008995, allocations: 182.8 kB / 372.3 MB, free: 10.12 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.24/1.24, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0006917/0.0006917, allocations: 112.5 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 13.94 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.000745/0.1556, allocations: 0.5335 MB / 0.9807 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1569, allocations: 1.462 MB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.1569, allocations: 4 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.157, allocations: 15.88 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.1571, allocations: 23.78 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008835/0.1579, allocations: 475.1 kB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1582, allocations: 371.2 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1583, allocations: 41.48 kB / 0.983 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1584, allocations: 159.7 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1585, allocations: 123.6 kB / 0.9833 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.1586, allocations: 24 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-05/0.1587, allocations: 35.98 kB / 0.9834 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.1587, allocations: 31.84 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1589, allocations: 161.3 kB / 0.9836 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.159, allocations: 291.5 kB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.159, allocations: 3.938 kB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1591, allocations: 0 / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.1591, allocations: 0 / 0.9838 GB, free: 23.48 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004067/0.1595, allocations: 0.5698 MB / 0.9844 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1595, allocations: 8.031 kB / 0.9844 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.1596, allocations: 46.73 kB / 0.9844 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.1596, allocations: 32.66 kB / 0.9845 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1598, allocations: 260 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1599, allocations: 16.38 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.1599, allocations: 40.36 kB / 0.9848 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1601, allocations: 145.2 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1601, allocations: 7.938 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1601, allocations: 4 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1602, allocations: 4 kB / 0.9849 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1603, allocations: 79.89 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.1608, allocations: 0.7108 MB / 0.9857 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.161, allocations: 175.6 kB / 0.9859 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/0.1611, allocations: 48.88 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.1611, allocations: 3.938 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.1613, allocations: 164.3 kB / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.1613, allocations: 0 / 0.9861 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0003256/0.1616, allocations: 243.7 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.1616, allocations: 63.39 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.1617, allocations: 174.8 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.1618, allocations: 41.7 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.1619, allocations: 124.5 kB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1619, allocations: 39.45 kB / 0.9867 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.1619, allocations: 12 kB / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.162, allocations: 326.8 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1622, allocations: 155.9 kB / 0.9872 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.1625, allocations: 243 kB / 0.9874 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.1628, allocations: 414.7 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1628, allocations: 0 / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006913/0.1635, allocations: 0.6109 MB / 0.9884 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.1635, allocations: 168.4 kB / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1636, allocations: 0 / 0.9886 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1636, allocations: 4.344 kB / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.9e-05/0.1636, allocations: 15.94 kB / 0.9886 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1636, allocations: 7.984 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/0.1644, allocations: 198 kB / 0.9888 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.1645, allocations: 31.98 kB / 0.9888 GB, free: 17.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001137/0.1646, allocations: 173.5 kB / 0.989 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1646, allocations: 19.73 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.1646, allocations: 17.88 kB / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1646, allocations: 4 kB / 0.989 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1647, allocations: 3.938 kB / 0.989 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1647, allocations: 0 / 0.989 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.165, allocations: 0.5023 MB / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.165, allocations: 0 / 0.9895 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.1651, allocations: 11.94 kB / 0.9895 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1651, allocations: 3.938 kB / 0.9896 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1651, allocations: 0 / 0.9896 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1651, allocations: 7.984 kB / 0.9896 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1651, allocations: 0 / 0.9896 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.1653, allocations: 284.6 kB / 0.9898 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.1653, allocations: 92.86 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1653, allocations: 7.984 kB / 0.9899 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.1654, allocations: 8 kB / 0.9899 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1655, allocations: 19.97 kB / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1655, allocations: 8 kB / 0.99 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.1655, allocations: 124.2 kB / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1655, allocations: 0 / 0.9901 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002892/0.1658, allocations: 79.89 kB / 0.9902 GB, free: 16.46 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003524/0.1662, allocations: 0.8277 MB / 0.991 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.1667, allocations: 0.6178 MB / 0.9916 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1667, allocations: 0 / 0.9916 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.1668, allocations: 75.91 kB / 0.9916 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1671, allocations: 47.23 kB / 0.9917 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1688, allocations: 1.485 MB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.1689, allocations: 0.7242 MB / 0.9938 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.108e-05/0.1689, allocations: 17.55 kB / 0.9939 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.169, allocations: 59.41 kB / 0.9939 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.169, allocations: 0 / 0.9939 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3934/0.5624, allocations: 5.945 MB / 0.9997 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.5626, allocations: 208.1 kB / 0.9999 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.157, allocations: 4 kB / 0.9999 GB, free: 6.422 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)