Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.001233/0.001233, allocations: 108 kB / 15.6 MB, free: 132 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.001001/0.001001, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.427/1.427, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.589/1.589, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001346/0.001346, allocations: 74.72 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1778, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002187/0.1801, allocations: 0.8448 MB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1818, allocations: 1.468 MB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.1819, allocations: 4 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.182, allocations: 19.8 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.1821, allocations: 35.7 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1833, allocations: 0.5146 MB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.1839, allocations: 499.3 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1841, allocations: 41.48 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.1843, allocations: 183.6 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1845, allocations: 143.6 kB / 0.7871 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.016e-05/0.1846, allocations: 40 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1847, allocations: 59.98 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.1848, allocations: 39.89 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.185, allocations: 159.5 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.1854, allocations: 411.2 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1854, allocations: 0 / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1854, allocations: 0 / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1854, allocations: 4 kB / 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.0006241/0.186, allocations: 0.6476 MB / 0.7885 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1861, allocations: 11.97 kB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.1861, allocations: 46.73 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.1862, allocations: 32.75 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.1865, allocations: 271.9 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1865, allocations: 20.38 kB / 0.7888 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.1866, allocations: 28.38 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.1868, allocations: 155.7 kB / 0.789 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1868, allocations: 7.938 kB / 0.789 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1868, allocations: 3.984 kB / 0.789 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.1868, allocations: 4 kB / 0.789 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.187, allocations: 87 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.1877, allocations: 0.7109 MB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1879, allocations: 167.6 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.1879, allocations: 48.83 kB / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.188, allocations: 0 / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1882, allocations: 155.3 kB / 0.7901 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.1882, allocations: 4 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.000392/0.1886, allocations: 244.1 kB / 0.7904 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1886, allocations: 55.41 kB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1888, allocations: 182.2 kB / 0.7906 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.1888, allocations: 37.7 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.1889, allocations: 132.4 kB / 0.7908 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.189, allocations: 43.45 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.1891, allocations: 113.6 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.1892, allocations: 330.8 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1895, allocations: 155.8 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.1898, allocations: 242.1 kB / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.1902, allocations: 408.8 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1902, allocations: 0 / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008432/0.1911, allocations: 0.615 MB / 0.7926 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.1912, allocations: 168.4 kB / 0.7928 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1912, allocations: 7.938 kB / 0.7928 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1912, allocations: 4 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.688e-05/0.1912, allocations: 7.984 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1912, allocations: 7.938 kB / 0.7928 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/0.192, allocations: 151.6 kB / 0.7929 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.1921, allocations: 31.98 kB / 0.793 GB, free: 3.211 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.000134/0.1922, allocations: 159.1 kB / 0.7931 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1923, allocations: 19.73 kB / 0.7931 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.1923, allocations: 21.88 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1923, allocations: 4 kB / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1923, allocations: 0 / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1923, allocations: 0 / 0.7932 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.1928, allocations: 0.5023 MB / 0.7936 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1928, allocations: 0 / 0.7936 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.1928, allocations: 7.938 kB / 0.7937 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1928, allocations: 0 / 0.7937 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1928, allocations: 12.05 kB / 0.7937 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1928, allocations: 4 kB / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1928, allocations: 0 / 0.7937 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1931, allocations: 281.8 kB / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1931, allocations: 96.84 kB / 0.794 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1932, allocations: 11.98 kB / 0.794 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.1932, allocations: 0 / 0.794 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.1933, allocations: 31.84 kB / 0.7941 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1933, allocations: 12 kB / 0.7941 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.904e-05/0.1934, allocations: 124.2 kB / 0.7942 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1934, allocations: 0 / 0.7942 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003268/0.1937, allocations: 83.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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0005067/0.1942, allocations: 0.8226 MB / 0.7951 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006739/0.1949, allocations: 0.6323 MB / 0.7957 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1949, allocations: 0 / 0.7957 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.195, allocations: 75.91 kB / 0.7958 GB, free: 148 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1954, allocations: 48.59 kB / 0.7958 GB, free: 100 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.1986, allocations: 2.991 MB / 0.7987 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1988, allocations: 0.7281 MB / 0.7995 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1989, allocations: 25.53 kB / 0.7995 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.199, allocations: 55.42 kB / 0.7995 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.199, allocations: 0 / 0.7995 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.875/3.073, allocations: 6.319 MB / 0.8057 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/16.59, allocations: 10.8 kB / 0.8057 GB, free: 5.902 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)