Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.001016/0.001016, 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.001008/0.001008, allocations: 193.8 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.182/1.182, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.57/1.57, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.00133/0.00133, allocations: 67.31 kB / 0.6716 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1792, allocations: 114.5 MB / 0.7835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001882/0.1811, allocations: 0.7176 MB / 0.7842 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1824, allocations: 1.258 MB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.1825, allocations: 4 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.1825, allocations: 3.938 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-05/0.1826, allocations: 19.81 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.1833, allocations: 309.4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1836, allocations: 271.6 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.1837, allocations: 16.17 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1838, allocations: 103.8 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1839, allocations: 71.78 kB / 0.7862 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.184, allocations: 20 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-05/0.184, allocations: 39.98 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.1841, allocations: 15.97 kB / 0.7863 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.1842, allocations: 91.69 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.1844, allocations: 223.7 kB / 0.7866 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1844, allocations: 0 / 0.7866 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1844, allocations: 0 / 0.7866 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.1844, allocations: 0 / 0.7866 GB, free: 10.31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004994/0.1849, allocations: 492.3 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.185, allocations: 8.031 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.8e-05/0.185, allocations: 38.73 kB / 0.7871 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.1851, allocations: 20.84 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1852, allocations: 174.2 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1852, allocations: 12.38 kB / 0.7873 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.1853, allocations: 16.36 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1854, allocations: 57.98 kB / 0.7873 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1854, allocations: 3.938 kB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1854, allocations: 7.938 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1854, allocations: 0 / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.1855, allocations: 23.98 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1859, allocations: 416.5 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.186, allocations: 30.56 kB / 0.7878 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.186, allocations: 20.8 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-06/0.1861, allocations: 96 / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.1862, allocations: 99.34 kB / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.1862, allocations: 0 / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002655/0.1865, allocations: 141.5 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1865, allocations: 55.41 kB / 0.7881 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.1866, allocations: 133.7 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.1867, allocations: 37.7 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.1867, allocations: 93.2 kB / 0.7884 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1868, allocations: 27.72 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1869, allocations: 69.66 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.187, allocations: 326.7 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1872, allocations: 95.94 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1874, allocations: 134 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.1876, allocations: 231 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1876, allocations: 0 / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000545/0.1882, allocations: 385 kB / 0.7896 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.1883, allocations: 97.09 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1883, allocations: 4.188 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1883, allocations: 4 kB / 0.7897 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.461e-05/0.1883, allocations: 3.984 kB / 0.7897 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1883, allocations: 4 kB / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.1888, allocations: 88.11 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1889, allocations: 19.98 kB / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001128/0.189, allocations: 140.7 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.189, allocations: 11.89 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.189, allocations: 12.38 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1891, allocations: 0 / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1891, allocations: 0 / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1891, allocations: 0 / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1892, allocations: 193.5 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1892, allocations: 0 / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.1892, allocations: 8 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1892, allocations: 0 / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1892, allocations: 8 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1893, allocations: 4 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1893, allocations: 3.938 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1894, allocations: 132.9 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.1895, allocations: 85.02 kB / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1895, allocations: 3.938 kB / 0.7904 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.1895, allocations: 12 kB / 0.7904 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1896, allocations: 7.984 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1896, allocations: 0 / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.1896, allocations: 102.6 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1896, allocations: 0 / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002485/0.1899, allocations: 47.98 kB / 0.7905 GB, free: 5.82 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004459/0.1903, allocations: 0.6875 MB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004275/0.1908, allocations: 366 kB / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1908, allocations: 0 / 0.7915 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.1908, allocations: 39.98 kB / 0.7916 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1911, allocations: 27.11 kB / 0.7916 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.1933, allocations: 2.05 MB / 0.7936 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.1935, allocations: 0.7001 MB / 0.7943 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.1935, allocations: 8.438 kB / 0.7943 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.1936, allocations: 27.42 kB / 0.7943 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1936, allocations: 0 / 0.7943 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5183/0.7119, allocations: 3.777 MB / 0.798 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.86, allocations: 15.36 kB / 0.798 GB, free: 14.02 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)