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.001176/0.001176, allocations: 105.4 kB / 15.7 MB, free: 24 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.001342/0.001342, allocations: 197.3 kB / 16.64 MB, free: 6.434 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.633/1.633, allocations: 205.1 MB / 222.5 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 2.002/2.002, allocations: 292.3 MB / 0.549 GB, free: 12.76 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: 72.81 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2852, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00215/0.2874, allocations: 0.8573 MB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2892, allocations: 1.472 MB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.2893, allocations: 0 / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.2894, allocations: 19.8 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.2895, allocations: 31.66 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2907, allocations: 0.5169 MB / 0.787 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.2912, allocations: 0.4992 MB / 0.7875 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2914, allocations: 37.48 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.2915, allocations: 183.7 kB / 0.7877 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.2918, allocations: 175.4 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.2918, allocations: 40 kB / 0.7879 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.292, allocations: 59.92 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.292, allocations: 39.84 kB / 0.788 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2922, allocations: 163.5 kB / 0.7881 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2926, allocations: 414.9 kB / 0.7885 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2926, allocations: 0 / 0.7885 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2926, allocations: 0 / 0.7885 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2926, allocations: 4 kB / 0.7885 GB, free: 8.227 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.0007704/0.2934, allocations: 0.6437 MB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2934, allocations: 12.03 kB / 0.7892 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.2935, allocations: 28.75 kB / 0.7892 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.2939, allocations: 264 kB / 0.7894 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2939, allocations: 16.38 kB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.294, allocations: 32.36 kB / 0.7895 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.2942, allocations: 148.9 kB / 0.7896 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2942, allocations: 8.125 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.2942, allocations: 15.92 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2942, allocations: 0 / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2944, allocations: 79.95 kB / 0.7897 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.2952, allocations: 0.703 MB / 0.7904 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.2954, allocations: 179.6 kB / 0.7906 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.2954, allocations: 44.83 kB / 0.7906 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2955, allocations: 4 kB / 0.7906 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.2957, allocations: 154 kB / 0.7908 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 3.347e-06/0.2957, allocations: 0 / 0.7908 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004222/0.2962, allocations: 249.2 kB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2962, allocations: 59.41 kB / 0.7911 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2964, allocations: 182.2 kB / 0.7912 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.2964, allocations: 37.7 kB / 0.7913 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.2965, allocations: 120.5 kB / 0.7914 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.2966, allocations: 47.44 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.2968, allocations: 109.6 kB / 0.7916 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2969, allocations: 334.9 kB / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.2972, allocations: 163.8 kB / 0.792 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.2975, allocations: 242.1 kB / 0.7923 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.298, allocations: 402.6 kB / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.298, allocations: 3.938 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008827/0.2989, allocations: 0.6164 MB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.299, allocations: 160.8 kB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.299, allocations: 11.94 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.299, allocations: 4 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-05/0.2991, allocations: 15.92 kB / 0.7934 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2991, allocations: 7.938 kB / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.2998, allocations: 139.7 kB / 0.7936 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.2999, allocations: 39.97 kB / 0.7936 GB, free: 2.57 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.0001554/0.3, allocations: 151.1 kB / 0.7938 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3001, allocations: 15.81 kB / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.3001, allocations: 21.81 kB / 0.7938 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3001, allocations: 8 kB / 0.7938 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3001, allocations: 3.984 kB / 0.7938 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3002, allocations: 3.984 kB / 0.7938 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005138/0.3007, allocations: 0.5049 MB / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3007, allocations: 0 / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.3007, allocations: 7.938 kB / 0.7943 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3007, allocations: 0 / 0.7943 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.3007, allocations: 11.98 kB / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3007, allocations: 0 / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3008, allocations: 0 / 0.7943 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.301, allocations: 287.2 kB / 0.7946 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.3011, allocations: 92.86 kB / 0.7947 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3011, allocations: 4 kB / 0.7947 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.408e-05/0.3012, allocations: 4 kB / 0.7947 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.3013, allocations: 19.97 kB / 0.7947 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3013, allocations: 8 kB / 0.7947 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.3014, allocations: 124.2 kB / 0.7948 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3014, allocations: 4 kB / 0.7948 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003456/0.3017, allocations: 87.89 kB / 0.7949 GB, free: 1.129 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.0001784/0.3019, allocations: 112.4 kB / 0.795 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007765/0.3027, allocations: 0.614 MB / 0.7956 GB, free: 344 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3027, allocations: 0.6875 kB / 0.7956 GB, free: 344 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3028, allocations: 79.91 kB / 0.7957 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3033, allocations: 61.16 kB / 0.7958 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.304, allocations: 324.4 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3044, allocations: 0.7281 MB / 0.7968 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.515e-05/0.3045, allocations: 21.55 kB / 0.7968 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.3046, allocations: 23.44 kB / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.3046, allocations: 0 / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.008076/0.3127, allocations: 4.568 MB / 0.8013 GB, free: 10.55 MB / 0.6231 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)