Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.462/1.462, allocations: 287.4 MB / 302.6 MB, free: 8.23 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.0009135/0.0009135, allocations: 175.4 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.161/1.161, 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.0006478/0.0006478, allocations: 89.17 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 12.34 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 115.3 MB / 0.9787 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0007301/0.1635, allocations: 0.5488 MB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1648, allocations: 1.453 MB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.1649, allocations: 3.938 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.992e-05/0.165, allocations: 3.938 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.165, allocations: 27.78 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009818/0.166, allocations: 482.8 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.1663, allocations: 375.2 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1664, allocations: 33.48 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1666, allocations: 159.7 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1667, allocations: 127.6 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.1668, allocations: 20 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.918e-05/0.1669, allocations: 35.98 kB / 0.9819 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.1669, allocations: 35.84 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.167, allocations: 65.64 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1672, allocations: 291.5 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1672, allocations: 0 / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1672, allocations: 4 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1672, allocations: 0 / 0.9823 GB, free: 24.41 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.0004339/0.1677, allocations: 0.5697 MB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1677, allocations: 12.03 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.1677, allocations: 46.73 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1678, allocations: 32.66 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.168, allocations: 260 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.1681, allocations: 20.36 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.1681, allocations: 28.38 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1683, allocations: 153.2 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1684, allocations: 3.938 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1684, allocations: 4 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1684, allocations: 8 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1685, allocations: 87.88 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.1691, allocations: 0.703 MB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1693, allocations: 171.8 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1693, allocations: 44.78 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.1694, allocations: 8.094 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1696, allocations: 159.1 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.1696, allocations: 3.938 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.000342/0.1699, allocations: 243.4 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.17, allocations: 63.36 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/0.1701, allocations: 178.8 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.1701, allocations: 41.7 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.1702, allocations: 124.5 kB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1702, allocations: 43.44 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1702, allocations: 16 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.1703, allocations: 326.8 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1705, allocations: 155.9 kB / 0.9857 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.1708, allocations: 246 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.1711, allocations: 406.5 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1711, allocations: 0 / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007011/0.1718, allocations: 0.6109 MB / 0.9869 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.1719, allocations: 168.4 kB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1719, allocations: 4 kB / 0.9871 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1719, allocations: 4 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.172, allocations: 11.92 kB / 0.9871 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.172, allocations: 4.344 kB / 0.9871 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.1727, allocations: 205.2 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.1728, allocations: 31.98 kB / 0.9873 GB, free: 18.83 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.0001154/0.1729, allocations: 157.5 kB / 0.9875 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.1729, allocations: 27.73 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.173, allocations: 17.88 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.173, allocations: 0 / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.173, allocations: 0 / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.173, allocations: 0 / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.1734, allocations: 0.5068 MB / 0.988 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1734, allocations: 0 / 0.988 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.1734, allocations: 11.94 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1734, allocations: 0 / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1734, allocations: 11.98 kB / 0.988 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1734, allocations: 0 / 0.988 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1734, allocations: 7.922 kB / 0.988 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1736, allocations: 282.6 kB / 0.9883 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.1737, allocations: 92.86 kB / 0.9884 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1737, allocations: 12.05 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.1738, allocations: 4 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1738, allocations: 19.97 kB / 0.9884 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1738, allocations: 16 kB / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.669e-05/0.1739, allocations: 112.2 kB / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1739, allocations: 3.938 kB / 0.9885 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002811/0.1742, allocations: 83.89 kB / 0.9886 GB, free: 17.39 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.0003633/0.1745, allocations: 0.8262 MB / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.1751, allocations: 0.614 MB / 0.99 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1751, allocations: 3.938 kB / 0.99 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.1752, allocations: 78.48 kB / 0.9901 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1755, allocations: 44.66 kB / 0.9901 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.1772, allocations: 1.477 MB / 0.9916 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.1773, allocations: 0.732 MB / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6e-05/0.1774, allocations: 25.53 kB / 0.9923 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.1775, allocations: 51.42 kB / 0.9924 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1775, allocations: 0 / 0.9924 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4441/0.6215, allocations: 5.897 MB / 0.9981 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/0.6217, allocations: 186.7 kB / 0.9983 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.498, allocations: 0 / 0.9983 GB, free: 7.406 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)