Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 193.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 73.31 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1677, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001709/0.1695, allocations: 0.8577 MB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1709, allocations: 1.46 MB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.171, allocations: 7.938 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.303e-05/0.1711, allocations: 23.8 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.1711, allocations: 31.7 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.1721, allocations: 0.511 MB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.1725, allocations: 495.3 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1726, allocations: 45.41 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1728, allocations: 183.7 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.173, allocations: 151.5 kB / 0.7872 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.173, allocations: 44 kB / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.1731, allocations: 44 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.1732, allocations: 43.84 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1733, allocations: 167.5 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.1737, allocations: 403.2 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1737, allocations: 0 / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1737, allocations: 0 / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1737, allocations: 0 / 0.7878 GB, free: 8.934 MB / 0.6075 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.0005959/0.1743, allocations: 0.6554 MB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1743, allocations: 12.03 kB / 0.7885 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.1744, allocations: 46.73 kB / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.1745, allocations: 28.75 kB / 0.7885 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1747, allocations: 267.9 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1747, allocations: 16.38 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.1748, allocations: 36.36 kB / 0.7889 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.175, allocations: 151.8 kB / 0.789 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.175, allocations: 3.938 kB / 0.789 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.175, allocations: 8 kB / 0.789 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1751, allocations: 4 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1752, allocations: 79.89 kB / 0.7891 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.1759, allocations: 0.7109 MB / 0.7898 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.176, allocations: 171.6 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.1761, allocations: 44.83 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.1761, allocations: 7.984 kB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.1763, allocations: 159.2 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.1763, allocations: 0 / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0003784/0.1767, allocations: 244.4 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1768, allocations: 63.33 kB / 0.7904 GB, free: 6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1769, allocations: 182.2 kB / 0.7906 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.1769, allocations: 37.7 kB / 0.7907 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.177, allocations: 124.5 kB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1771, allocations: 47.44 kB / 0.7908 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.1772, allocations: 113.6 kB / 0.7909 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.1773, allocations: 330.8 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1776, allocations: 159.8 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.1779, allocations: 238.2 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.1783, allocations: 404.8 kB / 0.792 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1783, allocations: 0 / 0.792 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008145/0.1791, allocations: 0.6187 MB / 0.7926 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/0.1792, allocations: 164.4 kB / 0.7928 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1792, allocations: 4 kB / 0.7928 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1793, allocations: 4 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.713e-05/0.1793, allocations: 11.92 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1793, allocations: 4 kB / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.1801, allocations: 155.8 kB / 0.7929 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.1801, allocations: 31.97 kB / 0.793 GB, free: 3.207 MB / 0.6075 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,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.1803, allocations: 161.5 kB / 0.7931 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1803, allocations: 19.75 kB / 0.7931 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.1803, allocations: 17.88 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1803, allocations: 4 kB / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1803, allocations: 0 / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1804, allocations: 7.922 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.1808, allocations: 0.5023 MB / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1808, allocations: 0 / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.1808, allocations: 11.94 kB / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1808, allocations: 0 / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1808, allocations: 11.98 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1808, allocations: 0 / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1809, allocations: 0 / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1811, allocations: 275.2 kB / 0.7939 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.1811, allocations: 104.8 kB / 0.794 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1812, allocations: 4 kB / 0.794 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.1812, allocations: 8 kB / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.1813, allocations: 19.97 kB / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1813, allocations: 8 kB / 0.7941 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.452e-05/0.1814, allocations: 120.2 kB / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1814, allocations: 0 / 0.7942 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003181/0.1817, allocations: 87.89 kB / 0.7943 GB, free: 1.758 MB / 0.6075 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 (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.0004841/0.1822, allocations: 0.8291 MB / 0.7951 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.1828, allocations: 0.6295 MB / 0.7957 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1828, allocations: 0 / 0.7957 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.1829, allocations: 75.91 kB / 0.7958 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1833, allocations: 56.58 kB / 0.7958 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.1864, allocations: 2.987 MB / 0.7987 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.1866, allocations: 0.7281 MB / 0.7995 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.528e-05/0.1866, allocations: 21.55 kB / 0.7995 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1867, allocations: 55.42 kB / 0.7995 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.1867, allocations: 0 / 0.7995 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.697/2.883, allocations: 6.31 MB / 0.8057 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/14.67, allocations: 19.05 kB / 0.8057 GB, free: 5.891 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)