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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 100.3 kB / 16.27 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001457, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.574/1.574, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.891/1.891, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001498/0.001498, allocations: 68.28 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2759, allocations: 114.6 MB / 0.784 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002276/0.2783, allocations: 0.8423 MB / 0.7849 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2801, allocations: 1.48 MB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.2802, allocations: 0 / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.2803, allocations: 11.81 kB / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.2804, allocations: 31.7 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.2816, allocations: 0.5177 MB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.2821, allocations: 499.2 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2823, allocations: 41.48 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.2824, allocations: 187.7 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.2826, allocations: 143.6 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.2827, allocations: 40 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4054/0.6881, allocations: 55.94 kB / 0.7878 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.6883, allocations: 38.33 kB / 0.7878 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.6885, allocations: 160.6 kB / 0.788 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.689, allocations: 405 kB / 0.7884 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.689, allocations: 0 / 0.7884 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6891, allocations: 3.938 kB / 0.7884 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.6891, allocations: 0 / 0.7884 GB, free: 46.41 MB / 0.6544 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.0006512/0.6897, allocations: 0.6435 MB / 0.789 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6898, allocations: 9.25 kB / 0.789 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.93e-05/0.6899, allocations: 32.11 kB / 0.789 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.6901, allocations: 265 kB / 0.7893 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.6902, allocations: 19.81 kB / 0.7893 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.6902, allocations: 36.05 kB / 0.7893 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.6904, allocations: 146 kB / 0.7895 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6905, allocations: 192 / 0.7895 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.6905, allocations: 14.06 kB / 0.7895 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6905, allocations: 2.969 kB / 0.7895 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.6906, allocations: 81.17 kB / 0.7896 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.6913, allocations: 0.7096 MB / 0.7903 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.6915, allocations: 166.7 kB / 0.7904 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.6916, allocations: 47.53 kB / 0.7905 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.6916, allocations: 6.438 kB / 0.7905 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.6919, allocations: 153.5 kB / 0.7906 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.6919, allocations: 0.8438 kB / 0.7906 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004209/0.6923, allocations: 243.9 kB / 0.7909 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.6923, allocations: 65.16 kB / 0.7909 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.6925, allocations: 177.5 kB / 0.7911 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.6925, allocations: 41.5 kB / 0.7911 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.6926, allocations: 134.2 kB / 0.7913 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.6926, allocations: 40.27 kB / 0.7913 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.6928, allocations: 115.5 kB / 0.7914 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.6929, allocations: 328.3 kB / 0.7917 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.6932, allocations: 154.5 kB / 0.7919 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.6935, allocations: 237.9 kB / 0.7921 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.6938, allocations: 406.3 kB / 0.7925 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6938, allocations: 3.375 kB / 0.7925 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008212/0.6947, allocations: 0.6232 MB / 0.7931 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.6947, allocations: 165.6 kB / 0.7932 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6948, allocations: 4.719 kB / 0.7933 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.6948, allocations: 7 kB / 0.7933 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.131e-05/0.6948, allocations: 11.73 kB / 0.7933 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.6948, allocations: 4.031 kB / 0.7933 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/0.6956, allocations: 150.1 kB / 0.7934 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/0.6957, allocations: 36.86 kB / 0.7935 GB, free: 43.65 MB / 0.6544 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.0001348/0.6958, allocations: 153.8 kB / 0.7936 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.6959, allocations: 18.75 kB / 0.7936 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.6959, allocations: 25.2 kB / 0.7936 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6959, allocations: 0 / 0.7936 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6959, allocations: 0 / 0.7936 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6959, allocations: 0 / 0.7936 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.6964, allocations: 0.5145 MB / 0.7941 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6964, allocations: 0 / 0.7941 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.6964, allocations: 6.797 kB / 0.7941 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6964, allocations: 0 / 0.7941 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.6964, allocations: 7.062 kB / 0.7942 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6964, allocations: 8.656 kB / 0.7942 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6964, allocations: 0 / 0.7942 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.6967, allocations: 287.1 kB / 0.7944 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.6967, allocations: 88.42 kB / 0.7945 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.6967, allocations: 6.469 kB / 0.7945 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.6968, allocations: 6.312 kB / 0.7945 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.6969, allocations: 23.56 kB / 0.7946 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.6969, allocations: 14.98 kB / 0.7946 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.697, allocations: 120.6 kB / 0.7947 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.697, allocations: 0 / 0.7947 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003484/0.6973, allocations: 91.23 kB / 0.7948 GB, free: 42.88 MB / 0.6544 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.0001594/0.6975, allocations: 110.7 kB / 0.7949 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006391/0.6981, allocations: 0.6343 MB / 0.7955 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6981, allocations: 0 / 0.7955 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.6983, allocations: 83.44 kB / 0.7956 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.6987, allocations: 53.47 kB / 0.7956 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.6992, allocations: 351.7 kB / 0.796 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.6993, allocations: 0.7301 MB / 0.7967 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.6993, allocations: 17.84 kB / 0.7967 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6994, allocations: 0 / 0.7967 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.00546/0.7048, allocations: 3.326 MB / 0.7999 GB, free: 41.34 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)